Skip to content

Commit

Permalink
fail ci with codecov error + workflow_dispatch
Browse files Browse the repository at this point in the history
- `fail_ci_if_error: true` => if the codecov upload errors, CI fails (probably due to secrets / codecov token)
- manually triggering CI is enabled with `workflow_dispatch`
  • Loading branch information
wheeheee committed Feb 6, 2024
1 parent 2637592 commit 6da298b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
branches: [master]
tags: ['*']
pull_request:
workflow_dispatch:
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} ${{ matrix.arch }}
Expand Down Expand Up @@ -41,6 +42,7 @@ jobs:
with:
files: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
docs:
name: Documentation
runs-on: ubuntu-latest
Expand Down

0 comments on commit 6da298b

Please sign in to comment.