Skip to content

Commit

Permalink
Update workflow install --with dev, add matrix poetry version #9
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoHuebner authored and pmayd committed Oct 25, 2023
1 parent 2b5139e commit 8b2dad2
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.9", "3.10"]
poetry-version: [1.6.1]
os: [ubuntu-22.04, macOS-latest, windows-latest]

steps:
Expand All @@ -33,19 +34,19 @@ jobs:
- name: Run poetry image
uses: abatilo/actions-poetry@v2.0.0
with:
poetry-version: 1.6.1
poetry-version: ${{ matrix.poetry-version }}
- name: Install dependencies
run: |
poetry install
poetry install --with dev
- name: Run tests
run: |
poetry run pytest --cov=pystatis tests
code-quality:
strategy:
fail-fast: false
matrix:
python-version: [3.10.13]
poetry-version: [1.6.1]
python-version: ${{ matrix.python-version }}
poetry-version: ${{ matrix.poetry-version }}
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -58,7 +59,7 @@ jobs:
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Install dependencies
run: poetry install
run: poetry install --with dev
- name: Run black
run: poetry run black . --check
- name: Run isort
Expand Down

0 comments on commit 8b2dad2

Please sign in to comment.