File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2727 python -mpip install .
2828 - name : Test
2929 run : |
30- python -mpytest --cov --cov-branch
30+ pyver="$(python -c 'import sys; print("{0.major}.{0.minor}".format(sys.version_info))')" &&
31+ COVERAGE_FILE=".coverage.$pyver" python -mpytest --cov --cov-branch
32+ - name : Upload coverage
33+ uses : actions/upload-artifact@v2
34+ with :
35+ name : coverage
36+ path : .coverage.*
37+
38+ coverage :
39+ runs-on : ubuntu-latest
40+ needs : build
41+ steps :
42+ - uses : actions/checkout@v2
43+ - uses : actions/setup-python@v2
44+ with :
45+ python-version : " 3.10"
46+ - name : Download coverage
47+ uses : actions/download-artifact@v2
48+ with :
49+ name : coverage
50+ - name : Coverage
51+ run : |
52+ python -mpip install --upgrade coverage &&
53+ python -mcoverage combine .coverage.* && # Unifies paths across envs.
3154 python -mcoverage report --show-missing
Original file line number Diff line number Diff line change 1+ [coverage:run]
2+ branch = true
3+ source = ipython_autoimport
4+
5+ [coverage:paths]
6+ source =
7+ lib/
8+ /**/python*/site-packages/
You can’t perform that action at this time.
0 commit comments