Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add go/no-go tests to check that various sites are buildable #1010

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Commits on Mar 30, 2022

  1. Add go/no-go tests that check that various sites are buildable

    Currently, these tests build the sites included in the Lektor source —
    example, tests/demo-site, tests/dependency-test-project,
    tests/child-sources-test-project — as well as the master branch
    of lektor-website.
    
    The lektor-website test is skipped by default. Use the `--runslow`
    custom pytest parameter to enable it.
    dairiki committed Mar 30, 2022
    Configuration menu
    Copy the full SHA
    2f5857e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c18df69 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3c69dbf View commit details
    Browse the repository at this point in the history
  4. Run slow test in CI

    dairiki committed Mar 30, 2022
    Configuration menu
    Copy the full SHA
    484bcf3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    77c7453 View commit details
    Browse the repository at this point in the history
  6. Fix Lektor installation of extension modules required by plugins.

    The lektor-website/packages/project-data plugin requires
    `readme_renderer[md]`, which, in turn requires `cmarkgfm<0.7.0`.
    There is no wheel appropriate for the Windows GitHub runner
    for `cmarkgfm==0.6.0`, so when Lektor goes to install the plugin,
    the extension must be compiled.  Apparently the `ProgramData`
    and `ProgramFiles` environment variables are important to this
    process.
    dairiki committed Mar 30, 2022
    Configuration menu
    Copy the full SHA
    73b7a84 View commit details
    Browse the repository at this point in the history
  7. Only install ffmpeg on linux runner for py3.10

    Installing ffmpeg takes about 20-30 seconds. Testing the ffmpeg
    functionality on one version of python seem sufficient.
    dairiki committed Mar 30, 2022
    Configuration menu
    Copy the full SHA
    5af8f76 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    68057cf View commit details
    Browse the repository at this point in the history