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 3131 pip install 'numpy<2.0'
3232 pip install matplotlib #Some imports require matplotlib
3333 pip install scipy #To not skip tests
34- pip install flake8 meson-python ninja pytest
34+ pip install flake8 meson-python ninja pytest coveralls
3535 # if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
3636
3737 - name : Checkout Clawpack
5353 - name : Test with pytest
5454 run : |
5555 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 11[ ![ 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 )
43[ ![ PyPI version] ( https://badge.fury.io/py/clawpack.svg )] ( https://badge.fury.io/py/clawpack )
54
65
You can’t perform that action at this time.
0 commit comments