Skip to content

Commit

Permalink
Switched to matrix approach.
Browse files Browse the repository at this point in the history
  • Loading branch information
lextm committed Sep 14, 2023
1 parent fc71ce9 commit ac6310e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,15 @@ jobs:
build:
name: build
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, 3.10, 3.11]
steps:
- uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: ${{ matrix.python-version }}
- name: Run image
uses: abatilo/actions-poetry@v2.0.0
with:
Expand All @@ -28,7 +31,7 @@ jobs:
poetry build
- name: Test
run: |
tox
pytest
- uses: actions/upload-artifact@v2.2.4
with:
name: dist
Expand Down

0 comments on commit ac6310e

Please sign in to comment.