Skip to content

Commit

Permalink
Merge pull request #7 from alisaifee/pytest
Browse files Browse the repository at this point in the history
Convert tests to use pytest
  • Loading branch information
alisaifee committed May 26, 2020
2 parents 7eeb342 + 8f72f4d commit 316fac5
Show file tree
Hide file tree
Showing 6 changed files with 329 additions and 314 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
pip install -r requirements/ci.txt
- name: Tests
run: |
nosetests --with-cov
pytest
- name: Post Coverage
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
Expand Down
8 changes: 8 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[pytest]
norecursedirs = build *.egg
addopts =
--verbose
--tb=short
--capture=no
-rfEsxX
--cov=hiro
4 changes: 2 additions & 2 deletions requirements/test.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
-r main.txt
nose
nose-cov
pytest
pytest-cov
Loading

0 comments on commit 316fac5

Please sign in to comment.