diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 31b5599..9b80501 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,13 +20,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - uses: abatilo/actions-poetry@v2.3.0 + with: + poetry-version: ${{ env.poetry-version }} - uses: actions/setup-python@v4 with: python-version: ${{ env.python-version }} cache: "poetry" - - uses: abatilo/actions-poetry@v2.3.0 - with: - poetry-version: ${{ env.poetry-version }} - run: poetry install --no-root - run: PYTHONPATH=src/.:tests/. poetry run pytest @@ -34,12 +34,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - uses: abatilo/actions-poetry@v2.3.0 + with: + poetry-version: ${{ env.poetry-version }} - uses: actions/setup-python@v4 with: python-version: ${{ env.python-version }} cache: "poetry" - - uses: abatilo/actions-poetry@v2.3.0 - with: - poetry-version: ${{ env.poetry-version }} - run: poetry install --no-root - run: poetry run mypy