summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDaniël van Noord <13665637+DanielNoord@users.noreply.github.com>2022-12-27 20:19:00 +0100
committerDaniël van Noord <13665637+DanielNoord@users.noreply.github.com>2022-12-27 20:34:57 +0100
commitd6edfb15fd5b87eef7f54fcc23fa3e77ee3c34f1 (patch)
treee84137862b35704a29ca66c3dac27a4071995185 /.github
parent03bd452620558a2159715ce7f5aad9071910e1a4 (diff)
downloadpylint-git-d6edfb15fd5b87eef7f54fcc23fa3e77ee3c34f1.tar.gz
Use codecov instead of coveralls for coverage reporting
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/tests.yaml21
1 files changed, 7 insertions, 14 deletions
diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml
index 7f517eb27..59f84b15a 100644
--- a/.github/workflows/tests.yaml
+++ b/.github/workflows/tests.yaml
@@ -81,19 +81,14 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
needs: tests-linux
- strategy:
- matrix:
- python-version: ["3.11"]
- env:
- COVERAGERC_FILE: .coveragerc
steps:
- name: Check out code from GitHub
uses: actions/checkout@v3.2.0
- - name: Set up Python ${{ matrix.python-version }}
+ - name: Set up Python 3.11
id: python
uses: actions/setup-python@v4.4.0
with:
- python-version: ${{ matrix.python-version }}
+ python-version: "3.11"
check-latest: true
- name: Restore Python virtual environment
id: cache-venv
@@ -114,13 +109,11 @@ jobs:
run: |
. venv/bin/activate
coverage combine coverage*/.coverage
- coverage report --rcfile=${{ env.COVERAGERC_FILE }}
- - name: Upload coverage to Coveralls
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: |
- . venv/bin/activate
- coveralls --rcfile=${{ env.COVERAGERC_FILE }} --service=github
+ coverage xml
+ - uses: codecov/codecov-action@v3
+ with:
+ fail_ci_if_error: true
+ verbose: true
benchmark-linux:
name: run benchmark / ${{ matrix.python-version }} / Linux