diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dddce1734..0156758eb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,15 +74,17 @@ jobs: run: | pytest --random-order --cov=freqtrade --cov=freqtrade_client --cov-config=.coveragerc - - name: Coveralls + - uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1 + if: (runner.os == 'Linux' && matrix.python-version == '3.12' && matrix.os == 'ubuntu-24.04') + with: + fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }} + + - name: Cleanup codecov dirty state files if: (runner.os == 'Linux' && matrix.python-version == '3.12' && matrix.os == 'ubuntu-24.04') - env: - # Coveralls token. Not used as secret due to github not providing secrets to forked repositories - COVERALLS_REPO_TOKEN: 6D1m0xupS3FgutfuGao8keFf9Hc0FpIXu run: | - # Allow failure for coveralls - uv pip install coveralls - coveralls || true + # See https://github.com/codecov/codecov-action/issues/1851 + rm -rf codecov codecov.SHA256SUM codecov.SHA256SUM.sig - name: Run json schema extract # This should be kept before the repository check to ensure that the schema is up-to-date