Skip to content

Commit

Permalink
Run tests using pytest (#26)
Browse files Browse the repository at this point in the history
setuptools' 'test' subcommand has been deprecated.
  • Loading branch information
jparise authored Aug 9, 2024
1 parent 92a6565 commit 32722fc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@ jobs:
run: |
python -m pip install --upgrade pip setuptools
pip install -r requirements.txt
- name: Tests
pip install -e .
- name: Lint
run: |
python setup.py check --restructuredtext
flake8
python setup.py test
- name: Tests
run: |
python -m pytest -v
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
flake8==7.1.0
pytest==8.3.2

0 comments on commit 32722fc

Please sign in to comment.