From 9e875b197a6785ad3f1791f1bc78b965e31a3e73 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sat, 12 Feb 2022 18:21:56 -0500 Subject: [PATCH] Limit tests for stdlib distutils to one job. Ref #3093. --- .github/workflows/main.yml | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 623737343e..c985f851e7 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