Skip to content

Commit

Permalink
use baipp's version matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Mar 31, 2024
1 parent 2381bdb commit 5500721
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ jobs:
fetch-depth: 0

- uses: hynek/build-and-inspect-python-package@v2
id: baipp

outputs:
python-versions: ${{ steps.baipp.outputs.supported_python_classifiers_json_array }}

tests:
name: Tests on ${{ matrix.python-version }}
Expand All @@ -33,12 +37,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
python-version: ${{ fromJson(needs.build-package.outputs.python-versions) }}

steps:
- name: Download pre-built packages
Expand Down Expand Up @@ -117,12 +116,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
python-version: ${{ fromJson(needs.build-package.outputs.python-versions) }}

steps:
- name: Download pre-built packages
Expand Down

0 comments on commit 5500721

Please sign in to comment.