Skip to content

Commit

Permalink
Reduce test space, TO BE REVERTED
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi committed Jan 22, 2024
1 parent 19cc577 commit 5260f2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,27 +30,15 @@ jobs:
.github/upgrade-pip-packages.sh
shell: bash

test-mac:
name: "Test macOS"
uses: "./.github/workflows/test-os.yml"
with:
os: '["macos-11", "macos-12", "macos-13"]'

test-lnx:
name: "Test Ubuntu"
uses: "./.github/workflows/test-os.yml"
with:
os: '["ubuntu-20.04", "ubuntu-22.04"]'

test-win:
name: "Test Windows"
uses: "./.github/workflows/test-os.yml"
with:
os: '["windows-2019", "windows-2022"]'

publish:
name: "Publish"
needs: [test-mac, test-lnx, test-win]
needs: [test-lnx]
# we run the action from this branch whenever we can (when it runs in our repo's context)
if: >
! cancelled() &&
Expand All @@ -64,7 +52,7 @@ jobs:

config-deploy:
name: Configure Deployment
needs: [test-mac, test-lnx, test-win]
needs: [test-lnx]
# do not build or deploy on forked repositories
if: github.repository_owner == 'EnricoMi'
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-os.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
fail-fast: false
matrix:
os: ${{ fromJson(inputs.os) }}
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12.0-rc.3", "installed"]
python-version: ["3.8"]

include:
- os: ${{ fromJson(inputs.os)[0] }}
Expand Down

0 comments on commit 5260f2b

Please sign in to comment.