From 5e4fddd69ef8541dfd748346c8051152187955b5 Mon Sep 17 00:00:00 2001 From: Bernhard Kaindl Date: Wed, 26 Jun 2024 12:00:00 +0200 Subject: [PATCH] CI: codecov is unstable, use coveralls Signed-off-by: Bernhard Kaindl --- .github/workflows/other.yml | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/.github/workflows/other.yml b/.github/workflows/other.yml index 3f662d6b02c..dad92a2cf32 100644 --- a/.github/workflows/other.yml +++ b/.github/workflows/other.yml @@ -56,7 +56,7 @@ jobs: - name: Install common dependencies for Python ${{matrix.python-version}} run: pip install future mock pytest-coverage pytest-mock - - name: Run Pytest for python 2 and get code coverage for Codecov + - name: Run Pytest for python 2 and get code coverage if: ${{ matrix.python-version == '2.7' }} run: > pytest @@ -68,7 +68,7 @@ jobs: env: PYTHONDEVMODE: yes - - name: Run Pytest for python 3 and get code coverage for Codecov + - name: Run Pytest for python 3 and get code coverage if: ${{ matrix.python-version != '2.7' }} run: > pytest @@ -80,17 +80,13 @@ jobs: env: PYTHONDEVMODE: yes - - name: Upload Python ${{matrix.python-version}} coverage report to Codecov - uses: codecov/codecov-action@v4 + - name: Upload coverage report to Coveralls + uses: coverallsapp/github-action@v2 with: - directory: .git - fail_ci_if_error: false - env_vars: OS,PYTHON - files: coverage${{matrix.python-version}}.xml - flags: python${{matrix.python-version}} - name: coverage${{matrix.python-version}} - use_oidc: true - verbose: true + format: cobertura + files: .git/coverage${{matrix.python-version}}.xml + flag-name: python${{matrix.python-version}} + parallel: true - uses: dciborow/action-pylint@0.1.0 if: ${{ matrix.python-version != '2.7' }}