summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2022-02-12 18:21:56 -0500
committerJason R. Coombs <jaraco@jaraco.com>2022-02-12 18:21:56 -0500
commit9e875b197a6785ad3f1791f1bc78b965e31a3e73 (patch)
treeda508fda23c58d8b9176da91f58ed0ab6776c094 /.github
parent357292252c188c7b9288e81dc68038cd43ca52e6 (diff)
downloadpython-setuptools-git-9e875b197a6785ad3f1791f1bc78b965e31a3e73.tar.gz
Limit tests for stdlib distutils to one job. Ref #3093.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/main.yml19
1 files changed, 4 insertions, 15 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 62373734..c985f851 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -11,7 +11,6 @@ jobs:
strategy:
matrix:
distutils:
- - stdlib
- local
python:
- pypy-3.7
@@ -23,6 +22,10 @@ jobs:
- ubuntu-latest
- macos-latest
- windows-latest
+ include:
+ - platform: ubuntu-latest
+ python: "3.10"
+ distutils: stdlib
runs-on: ${{ matrix.platform }}
env:
SETUPTOOLS_USE_DISTUTILS: ${{ matrix.distutils }}
@@ -46,14 +49,7 @@ jobs:
${{ matrix.python }}
test_cygwin:
- strategy:
- matrix:
- distutils:
- - stdlib
- - local
runs-on: windows-latest
- env:
- SETUPTOOLS_USE_DISTUTILS: ${{ matrix.distutils }}
steps:
- uses: actions/checkout@v2
- name: Install Cygwin with Python
@@ -76,11 +72,6 @@ jobs:
tox -- --cov-report xml
integration-test:
- strategy:
- matrix:
- distutils:
- - stdlib
- - local
needs: test
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && contains(github.ref, 'refs/tags/'))
# To avoid long times and high resource usage, we assume that:
@@ -91,8 +82,6 @@ jobs:
# "integration")
# With that in mind, the integration tests can run for a single setup
runs-on: ubuntu-latest
- env:
- SETUPTOOLS_USE_DISTUTILS: ${{ matrix.distutils }}
steps:
- uses: actions/checkout@v2
- name: Install OS-level dependencies