Skip to content

Commit

Permalink
Try with poetry in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
devonh committed May 16, 2024
1 parent b9c60d8 commit 0e6af7c
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,26 @@ jobs:
check-code-style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4

- name: Setup Poetry
uses: matrix-org/setup-python-poetry@v1
with:
python-version: "3.10"
- run: python -m pip install tox
- run: tox -e check_codestyle
install-project: "false"

- run: poetry run tox -e check_codestyle

check-types-mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4

- name: Setup Poetry
uses: matrix-org/setup-python-poetry@v1
with:
python-version: "3.10"
- run: python -m pip install tox
- run: tox -e check_types
install-project: "false"

- run: poetry run tox -e check_types

run-unit-tests:
name: Unit tests
Expand Down

0 comments on commit 0e6af7c

Please sign in to comment.