Skip to content

Commit

Permalink
chore: update unit test ci to use multiple python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ekkx committed Sep 2, 2024
1 parent 63bcf28 commit 3359ad9
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@ on:
- synchronize

jobs:
publish:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]

test:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -22,10 +28,13 @@ jobs:
- name: Install Poetry
run: pipx install poetry

- name: Setup Python
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: ${{ matrix.python-version }}

- name: Display Python version
run: python -c "import sys; print(sys.version)"

- name: Check poetry
run: |
Expand Down

0 comments on commit 3359ad9

Please sign in to comment.