Skip to content

Commit 3073858

Browse files
authored
Run lint only once on Linux Python 3.10. (#105)
This keeps core tests across all configured Python versions while avoiding repeated lint runs, and adds a newsfragment linked to issue #104.
1 parent 5c4d651 commit 3073858

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/tox.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ jobs:
1717
strategy:
1818
matrix:
1919
python-version: ["3.10", "3.11", "3.12", "3.13"]
20-
toxenv: [core, lint]
20+
toxenv: [core]
2121
include:
22+
- python-version: "3.10"
23+
toxenv: lint
2224
- python-version: "3.10"
2325
toxenv: docs
2426
fail-fast: false
@@ -45,7 +47,7 @@ jobs:
4547
strategy:
4648
matrix:
4749
python-version: ["3.10", "3.11", "3.12", "3.13"]
48-
toxenv: [core, lint]
50+
toxenv: [core]
4951
fail-fast: false
5052
steps:
5153
- uses: actions/checkout@v4

newsfragments/104.internal.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Updated the tox GitHub Actions workflow so lint runs only once on Linux with
2+
Python 3.10, while core tests continue to run across all configured Python
3+
versions.

0 commit comments

Comments
 (0)