From 3847db314e03ab2e4fcc79e034bc5161438dc934 Mon Sep 17 00:00:00 2001 From: Manuel Holtgrewe Date: Fri, 12 Jan 2024 11:58:32 +0100 Subject: [PATCH] ci: switch to codecov rather than codacy --- .github/workflows/ci.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b9b85c..07186fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,7 @@ jobs: - '3.9' - '3.10' - '3.11' + - '3.12' steps: - name: Install Python via conda. @@ -34,14 +35,12 @@ jobs: run: coverage report - name: Create XML report for codacy run: coverage xml - - name: Coveralls - uses: AndreMiras/coveralls-python-action@develop - - name: Run codacy-coverage-reporter - uses: codacy/codacy-coverage-reporter-action@master + - name: Upload Python coverage reports to Codecov + uses: codecov/codecov-action@v3 with: - project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} - coverage-reports: coverage.xml - if: ${{ matrix.python-version == '3.7' }} + flags: python + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - name: Check style with black run: make black-check - name: Check style with flake8