Skip to content

Commit f83da68

Browse files
authored
Merge pull request #3101 from pypa/debt/ci-distutils-diet
Limit tests for stdlib distutils to one job.
2 parents abbaacc + 9e875b1 commit f83da68

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ jobs:
1111
strategy:
1212
matrix:
1313
distutils:
14-
- stdlib
1514
- local
1615
python:
1716
- pypy-3.7
@@ -23,6 +22,10 @@ jobs:
2322
- ubuntu-latest
2423
- macos-latest
2524
- windows-latest
25+
include:
26+
- platform: ubuntu-latest
27+
python: "3.10"
28+
distutils: stdlib
2629
runs-on: ${{ matrix.platform }}
2730
env:
2831
SETUPTOOLS_USE_DISTUTILS: ${{ matrix.distutils }}
@@ -46,14 +49,7 @@ jobs:
4649
${{ matrix.python }}
4750
4851
test_cygwin:
49-
strategy:
50-
matrix:
51-
distutils:
52-
- stdlib
53-
- local
5452
runs-on: windows-latest
55-
env:
56-
SETUPTOOLS_USE_DISTUTILS: ${{ matrix.distutils }}
5753
steps:
5854
- uses: actions/checkout@v2
5955
- name: Install Cygwin with Python
@@ -76,11 +72,6 @@ jobs:
7672
tox -- --cov-report xml
7773
7874
integration-test:
79-
strategy:
80-
matrix:
81-
distutils:
82-
- stdlib
83-
- local
8475
needs: test
8576
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && contains(github.ref, 'refs/tags/'))
8677
# To avoid long times and high resource usage, we assume that:
@@ -91,8 +82,6 @@ jobs:
9182
# "integration")
9283
# With that in mind, the integration tests can run for a single setup
9384
runs-on: ubuntu-latest
94-
env:
95-
SETUPTOOLS_USE_DISTUTILS: ${{ matrix.distutils }}
9685
steps:
9786
- uses: actions/checkout@v2
9887
- name: Install OS-level dependencies

0 commit comments

Comments
 (0)