Skip to content

Commit 3ab6473

Browse files
committed
GitHub Actions: migrating from coveralls to codecov
1 parent cd10a00 commit 3ab6473

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/tests.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,19 @@ jobs:
2424
run: tox
2525
env:
2626
TOXENV: ${{ matrix.toxenv }}
27-
- name: Coveralls Parallel
28-
uses: coverallsapp/github-action@master
29-
with:
30-
github-token: ${{ secrets.github_token }}
31-
flag-name: run-${{ matrix.python-version }}
32-
parallel: true
3327

3428
coverage:
35-
needs: build
3629
runs-on: ubuntu-latest
37-
steps:
38-
- name: Coveralls Finished
39-
uses: coverallsapp/github-action@master
30+
- uses: actions/checkout@v2
31+
- name: Set up Python 3.8
32+
uses: actions/setup-python@v2
4033
with:
41-
github-token: ${{ secrets.github_token }}
42-
parallel-finished: true
34+
python-version: 3.8
35+
- name: Install test dependencies
36+
run: |
37+
python -m pip install --upgrade pip
38+
pip install .[test]
39+
- name: Test with coverage
40+
run: pytest --cov=gql --cov-report=xml tests
41+
- name: Upload coverage to Codecov
42+
uses: codecov/codecov-action@v1

0 commit comments

Comments
 (0)