From 0e6af7cb3e6184416838edab0691eb61c94276d8 Mon Sep 17 00:00:00 2001 From: Devon Hudson Date: Thu, 16 May 2024 15:34:52 -0600 Subject: [PATCH] Try with poetry in workflow --- .github/workflows/pipeline.yml | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) 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