Skip to content

Commit

Permalink
fix: use poetry run pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
jjjermiah committed Jan 30, 2024
1 parent af18bc6 commit 3c5b60c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,12 @@ jobs:
- name: Install poetry
uses: snok/install-poetry@v1

- name: Install dependencies
run: poetry install

- name: Test with pytest
run: |
poetry install
pip install -r requirements.txt
pytest --cov --cov-report=xml:coverage-report/coverage.xml
poetry run pytest --cov --cov-report=xml:coverage-report/coverage.xml
- name: Build documentation
run: poetry run make html --directory docs/
Expand Down

0 comments on commit 3c5b60c

Please sign in to comment.