Skip to content

Commit

Permalink
replace py.test by pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonieBorne committed Jul 5, 2023
1 parent 726ca16 commit 004b411
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test_asteroid_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ jobs:

- name: Source code tests
run: |
coverage run -a -m py.test tests --ignore tests/models/publish_test.py
coverage run -a -m pytest tests --ignore tests/models/publish_test.py
chmod +x ./tests/cli_test.sh
./tests/cli_test.sh
# This tends to fail despite the code works, when Zenodo is slow.
- name: Model-sharing tests
run: |
coverage run -a -m py.test tests/models/publish_test.py
coverage run -a -m pytest tests/models/publish_test.py
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}

Expand Down

0 comments on commit 004b411

Please sign in to comment.