Skip to content

Extra (unnecessary) 3.12 test run in CI #422

Closed

Description

@A5rocks

An extra 3.12 Python run happens here:

run: python -m tox -e "" -- --no-cov

CI logs where this happens:

https://github.com/python-trio/flake8-async/actions/runs/20048717457/job/57499857248?pr=420#step:6:30

This seemingly adds 2 minutes to CI times...

Activity

  1. jakkdl commented on Dec 15, 2025

    @jakkdl
    Member

    as the comments say:

    - name: Run tests with flake8
    run: python -m tox -e flake8
    - name: Run tests without flake8
    run: python -m tox -e "" -- --no-cov

    it's to run once with flake8 installed, and once without. If we wanted to shorten CI times we could move that into the matrix though. It's also possible it's somewhat overkill to test both with&without flake8 on all python versions, but given the pace of this project as of late I don't think that's worth changing.

  2. A5rocks commented on Dec 15, 2025

    @A5rocks
    ContributorAuthor

    Ah, I meant the "Run tests without flake8" was running 2 pytest runs, one for the Python installed earlier and one for the system Python (?).

    But point taken about not being worth the effort.

  3. reopened this on Dec 16, 2025
  4. jakkdl commented on Dec 16, 2025

    @jakkdl
    Member

    oh, I'm sorry for not checking the log. That is a bit strange, it appears that python -m tox -e "" -- --no-cov attempts to run all python versions. Not sure if there's been a config change on our side, change in how tox interprets it, or it's always been misconfigured.

  5. added a commit that references this issue on Apr 22, 2026
    963d4df
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions