File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 31
31
pip install 'numpy<2.0'
32
32
pip install matplotlib #Some imports require matplotlib
33
33
pip install scipy #To not skip tests
34
- pip install flake8 meson-python ninja pytest
34
+ pip install flake8 meson-python ninja pytest coveralls
35
35
# if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
36
36
37
37
- name : Checkout Clawpack
53
53
- name : Test with pytest
54
54
run : |
55
55
cd ${CLAW}/pyclaw
56
- pytest --ignore=development -k "not test_shallow_sphere"
56
+ coverage run --source=src -m pytest --ignore=development -k "not test_shallow_sphere"
57
+
58
+ - name : Upload to Coveralls
59
+ if : always()
60
+ run : |
61
+ cd ${CLAW}/pyclaw
62
+ ls -l .coverage
63
+ coveralls
64
+ env :
65
+ COVERALLS_REPO_TOKEN : ${{ secrets.COVERALLS_REPO_TOKEN }}
66
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1
1
[ ![ Build Status] ( https://github.com/clawpack/pyclaw/actions/workflows/testing.yml/badge.svg )] ( https://github.com/clawpack/pyclaw/actions )
2
- [ ![ Coverage Status] ( https://img.shields.io/coveralls/clawpack/pyclaw.svg )] ( https://coveralls.io/r/clawpack/pyclaw?branch=master )
3
-
2
+ [ ![ Coverage Status] ( https://coveralls.io/repos/github/clawpack/pyclaw/badge.svg?branch=master )] ( https://coveralls.io/r/clawpack/pyclaw?branch=master )
4
3
[ ![ PyPI version] ( https://badge.fury.io/py/clawpack.svg )] ( https://badge.fury.io/py/clawpack )
5
4
6
5
You can’t perform that action at this time.
0 commit comments