File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed
Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -85,24 +85,27 @@ jobs:
8585 run : |
8686 cd Python
8787 python -m pip install --upgrade pip
88+ pip install -U wheel setuptools
8889 pip install -e .[test]
8990 python -c "import phate"
9091
91- - name : Run tests
92+ - name : Run tests with coverage
9293 run : |
9394 cd Python
94- pytest -vv
95+ pip install coverage pytest-cov
96+ pytest --cov=. --cov-report=lcov:coverage.lcov -vv
9597
9698 - name : Coveralls
97- env :
98- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
99- COVERALLS_SERVICE_NAME : github
100- run : |
101- coveralls
99+ uses : coverallsapp/github-action@v2
100+ with :
101+ github-token : ${{ secrets.GITHUB_TOKEN }}
102+ path-to-lcov : Python/coverage.lcov
103+ continue-on-error : true
102104
103105 - name : Upload check results on fail
104106 if : failure()
105- uses : actions/upload-artifact@master
107+ uses : actions/upload-artifact@v4
106108 with :
107109 name : ${{ matrix.config.name }}_results
108110 path : check
111+
Original file line number Diff line number Diff line change 11language : python
22python :
3- - " 3.5"
4- - " 3.6"
5- - " 3.7"
63 - " 3.8"
74 - " 3.9"
85 - " 3.10"
You can’t perform that action at this time.
0 commit comments