Skip to content

Commit

Permalink
chore: Add automatic version matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
Aviortheking committed Sep 25, 2024
1 parent 72f1ce3 commit 0f5aaf8
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,20 @@ on:
- master

jobs:
create_matrix:
runs-on: ubuntu-latest
steps:
- id: matrix
uses: JLLeitschuh/endoflife-matrix-action@v1
with:
product: python
outputs:
version_matrix: ${{ steps.matrix.outputs.versions }}
build_and_test:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ${{ fromJson(needs.create_matrix.outputs.version_matrix) }}
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down

0 comments on commit 0f5aaf8

Please sign in to comment.