Skip to content

Commit 25c7488

Browse files
author
Joao Felipe Rocha
committed
Correcting coveralls and travis
1 parent d629735 commit 25c7488

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/run_tests.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff 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+

.travis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
language: python
22
python:
3-
- "3.5"
4-
- "3.6"
5-
- "3.7"
63
- "3.8"
74
- "3.9"
85
- "3.10"

0 commit comments

Comments
 (0)