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:
47
47
shell : bash -l {0}
48
48
run : |
49
49
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
51
52
52
- - name : Coveralls Parallel (Linux)
53
- uses : AndreMiras/coveralls-python- action@develop
53
+ - name : Coveralls
54
+ uses : coverallsapp/github- action@master
54
55
if : runner.os == 'Linux'
55
56
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 38
38
- name : Install dependencies
39
39
run : |
40
40
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
42
42
python setup.py install
43
43
44
44
- name : flake8 Tests
@@ -47,20 +47,12 @@ jobs:
47
47
48
48
- name : Run Tests (pytest)
49
49
run : |
50
- pytest quantecon
50
+ coverage run -m pytest
51
+ coverage lcov
51
52
52
- - name : Coveralls Parallel
53
- uses : AndreMiras/coveralls-python- action@develop
53
+ - name : Coveralls
54
+ uses : coverallsapp/github- action@master
54
55
if : runner.os == 'Linux'
55
56
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/
9
9
* .noseids
10
10
* .coverage
11
11
* .h5
12
+ * .lcov
12
13
13
14
# Numba cache files
14
15
* .nbc
You can’t perform that action at this time.
0 commit comments