Skip to content

Commit

Permalink
Migrate test framework to pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
rht committed Jan 19, 2021
1 parent 83bb110 commit 22e8f64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ omit =
*/site-packages/ordereddict.py
*/site-packages/nose/*
*/unittest2/*
*/tests/*

[report]
show_missing = True
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U nose coverage numpy scipy pandas numba sympy ipython statsmodels flake8
pip install -U pytest pytest-cov nose numpy scipy pandas numba sympy ipython statsmodels flake8
pip install tables
python setup.py install
- name: Run Tests
run: |
flake8 --select F401, F405,E231 quantecon
nosetests --with-coverage -a "!slow" --cover-package=quantecon
pytest --cov=quantecon
- name: Coveralls Parallel
uses: AndreMiras/coveralls-python-action@develop
if: runner.os == 'Linux'
Expand Down

0 comments on commit 22e8f64

Please sign in to comment.