Skip to content

Potential CI improvement for multi-distro testing #179

@rgommers

Description

@rgommers

We now use the Sage CI jobs in https://github.com/FFY00/meson-python/blob/main/.github/workflows/ci-sage.yml. Those take quite a while:

image

I recently noticed how Meson does this:

That takes just over 1 minute to initialize a container, and then the tests start running. Given how faster the meson-python test suite is, doing it that way should be ~10x faster than through rebuilding Sage Docker image. I'm not sure if we'd lose anything in terms of coverage of configurations (@mkoeppe please comment if I'm missing something important here).

And we could use that extra time to test:

  • In a venv
  • With the distro Python
  • Using --user
  • Using sudo

Metadata

Metadata

Assignees

No one assigned

    Labels

    CIContinuous Integration

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions