Skip to content

Commit

Permalink
feat(gh-actions): test action with python version matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
giuseppeambrosio97 committed Dec 5, 2024
1 parent 6348473 commit 50d922e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
contents: read
issues: write
pull-requests: write
strategy:
matrix:
python-version: ["3.10", "3.11","3.12"]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand All @@ -21,11 +24,11 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
python-version: ${{ matrix.python-version }}
- name: Install the latest version of uv and set the python version to 3.12
uses: astral-sh/setup-uv@v4
with:
python-version: "3.12"
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: uv pip install .[cpu,dev]
- name: Run test
Expand Down

0 comments on commit 50d922e

Please sign in to comment.