Skip to content

Commit 6f6c392

Browse files
authored
Add codecov secret token to CI template (#458)
* Add codecov secret token to CI template * Don't fail CI
1 parent c354577 commit 6f6c392

File tree

3 files changed

+7
-3
lines changed
  • .github/workflows
  • templates/github/workflows
  • test/fixtures/AllPlugins/.github/workflows

3 files changed

+7
-3
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
with:
7373
files: lcov.info
7474
token: ${{ secrets.CODECOV_TOKEN }}
75-
fail_ci_if_error: true
75+
fail_ci_if_error: false
7676
slack:
7777
name: Notify Slack Failure
7878
needs: test

templates/github/workflows/CI.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,11 @@ jobs:
5757
- uses: julia-actions/julia-runtest@v1
5858
<<#HAS_CODECOV>>
5959
- uses: julia-actions/julia-processcoverage@v1
60-
- uses: codecov/codecov-action@v3
60+
- uses: codecov/codecov-action@v4
6161
with:
6262
files: lcov.info
63+
token: ${{ secrets.CODECOV_TOKEN }}
64+
fail_ci_if_error: false
6365
<</HAS_CODECOV>>
6466
<<#HAS_COVERALLS>>
6567
- uses: julia-actions/julia-uploadcoveralls@v1

test/fixtures/AllPlugins/.github/workflows/CI.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,11 @@ jobs:
4040
- uses: julia-actions/julia-buildpkg@v1
4141
- uses: julia-actions/julia-runtest@v1
4242
- uses: julia-actions/julia-processcoverage@v1
43-
- uses: codecov/codecov-action@v3
43+
- uses: codecov/codecov-action@v4
4444
with:
4545
files: lcov.info
46+
token: ${{ secrets.CODECOV_TOKEN }}
47+
fail_ci_if_error: false
4648
- uses: julia-actions/julia-uploadcoveralls@v1
4749
env:
4850
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}

0 commit comments

Comments
 (0)