Skip to content

Commit

Permalink
create unit-test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasMelton committed Oct 4, 2024
1 parent 1f47ad4 commit 1db73dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install --with dev # Install dependencies from pyproject.toml
poetry install --with dev # Install dependencies from pyproject.toml, including dev dependencies
- name: Run tests
run: |
pytest unit_tests/ --maxfail=5 --disable-warnings # Run tests from unit_tests/ directory
poetry run pytest unit_tests/ --maxfail=5 --disable-warnings # Run tests inside Poetry's virtual environment
- name: Publish test results
if: failure()
Expand Down

0 comments on commit 1db73dc

Please sign in to comment.