diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 78fd285e..0bf75ee7 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -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