Skip to content

Commit

Permalink
Update test workflow to use poetry run pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Lee committed Mar 6, 2024
1 parent 9645df5 commit c62642a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
uses: actions/cache@v3
with:
path: ./.venv
key: venv-${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('poetry.lock') }}
key: venv-${{ matrix.os }}-${{ hashFiles('poetry.lock') }}

- name: Install project dependencies
run: poetry install --with test

- name: Run unit tests
run: poetry -s -vvvv -l --tb=long tests
run: poetry run pytest -s -vvvv -l --tb=long tests

0 comments on commit c62642a

Please sign in to comment.