Skip to content

Commit

Permalink
[ci] Switch to requirements and use pytest directly
Browse files Browse the repository at this point in the history
  • Loading branch information
phillbaker committed Aug 19, 2024
1 parent ff8a698 commit 46d627f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: python -m pip install --upgrade pip setuptools wheel
run: |
python -m pip install --upgrade pip setuptools wheel
pip install -r requirements.txt
- name: Run the tests
run: |
python setup.py test
python -m pytest
release:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pytest>=2.4.0

0 comments on commit 46d627f

Please sign in to comment.