Skip to content

Commit 85a88d3

Browse files
authored
Merge pull request freqtrade#12552 from freqtrade/codecov
Switch from Coveralls to Codecov
2 parents 67beeb6 + b5e1773 commit 85a88d3

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,17 @@ jobs:
7474
run: |
7575
pytest --random-order --cov=freqtrade --cov=freqtrade_client --cov-config=.coveragerc
7676
77-
- name: Coveralls
77+
- uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
78+
if: (runner.os == 'Linux' && matrix.python-version == '3.12' && matrix.os == 'ubuntu-24.04')
79+
with:
80+
fail_ci_if_error: true
81+
token: ${{ secrets.CODECOV_TOKEN }}
82+
83+
- name: Cleanup codecov dirty state files
7884
if: (runner.os == 'Linux' && matrix.python-version == '3.12' && matrix.os == 'ubuntu-24.04')
79-
env:
80-
# Coveralls token. Not used as secret due to github not providing secrets to forked repositories
81-
COVERALLS_REPO_TOKEN: 6D1m0xupS3FgutfuGao8keFf9Hc0FpIXu
8285
run: |
83-
# Allow failure for coveralls
84-
uv pip install coveralls
85-
coveralls || true
86+
# See https://github.com/codecov/codecov-action/issues/1851
87+
rm -rf codecov codecov.SHA256SUM codecov.SHA256SUM.sig
8688
8789
- name: Run json schema extract
8890
# This should be kept before the repository check to ensure that the schema is up-to-date

0 commit comments

Comments
 (0)