File tree Expand file tree Collapse file tree 3 files changed +14
-29
lines changed Expand file tree Collapse file tree 3 files changed +14
-29
lines changed Original file line number Diff line number Diff line change @@ -47,20 +47,12 @@ jobs:
4747 shell : bash -l {0}
4848 run : |
4949 flake8 --select F401, F405, E231 quantecon
50- nosetests --with-coverage -a "!slow" --cover-package=quantecon
50+ coverage run -m nose -a "!slow"
51+ coverage lcov
5152
52- - name : Coveralls Parallel (Linux)
53- uses : AndreMiras/coveralls-python- action@develop
53+ - name : Coveralls
54+ uses : coverallsapp/github- action@master
5455 if : runner.os == 'Linux'
5556 with :
56- flag-name : run-${{ matrix.test_number }}
57- parallel : true
58-
59- coveralls_finish :
60- needs : tests
61- runs-on : ubuntu-latest
62- steps :
63- - name : Coveralls Finished
64- uses : AndreMiras/coveralls-python-action@develop
65- with :
66- parallel-finished : true
57+ github-token : ${{ secrets.GITHUB_TOKEN }}
58+ path-to-lcov : coverage.lcov
Original file line number Diff line number Diff line change 3838 - name : Install dependencies
3939 run : |
4040 python -m pip install --upgrade pip
41- pip install -U coverage numpy scipy pandas numba sympy ipython statsmodels flake8 pytest
41+ pip install -U numpy scipy pandas numba sympy ipython statsmodels flake8 pytest coverage
4242 python setup.py install
4343
4444 - name : flake8 Tests
@@ -47,20 +47,12 @@ jobs:
4747
4848 - name : Run Tests (pytest)
4949 run : |
50- pytest quantecon
50+ coverage run -m pytest
51+ coverage lcov
5152
52- - name : Coveralls Parallel
53- uses : AndreMiras/coveralls-python- action@develop
53+ - name : Coveralls
54+ uses : coverallsapp/github- action@master
5455 if : runner.os == 'Linux'
5556 with :
56- flag-name : run-${{ matrix.test_number }}
57- parallel : true
58-
59- coveralls_finish :
60- needs : tests
61- runs-on : ubuntu-latest
62- steps :
63- - name : Coveralls Finished
64- uses : AndreMiras/coveralls-python-action@develop
65- with :
66- parallel-finished : true
57+ github-token : ${{ secrets.GITHUB_TOKEN }}
58+ path-to-lcov : coverage.lcov
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ quantecon.egg-info/
99* .noseids
1010* .coverage
1111* .h5
12+ * .lcov
1213
1314# Numba cache files
1415* .nbc
You can’t perform that action at this time.
0 commit comments