Skip to content

Commit

Permalink
Merge pull request #436 from NOAA-FIMS/242-fix-codecov-rebased
Browse files Browse the repository at this point in the history
#242 fix codecov calc and upload
  • Loading branch information
ChristineStawitz-NOAA committed Aug 15, 2023
2 parents 015dd1d + 3adcdde commit d877064
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 12 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/call-calc-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,21 @@ name: call-calc_coverage
# The default is to run the workflow on every push or pull request to every branch.
on:
workflow_dispatch:
#schedule:
# # * is a special character in YAML so you have to quote this string
# - cron: '30 5 * * *'
#pull_request:
# branches:
# - main
push:
branches:
- main
paths-ignore:
- .devcontainer
- .github
- 'LICENSE'
- 'README.md'
- 'CONTRIBUTING.md'
- 'Rbuildignore'
- '.gitignore'
- 'man'
pull_request:
branches:
- main
jobs:
call-workflow:
uses: nmfs-fish-tools/ghactions4r/.github/workflows/calc-coverage.yml@main
5 changes: 0 additions & 5 deletions .github/workflows/run-googletest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,3 @@ jobs:
build/Testing/Temporary/LastTest.log
build/CMakeFiles/CMakeOutput.log
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3

- run: bash <(curl -s https://codecov.io/bash)
shell: bash
3 changes: 2 additions & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
comment: false
comment:
behavior: default

coverage:
status:
Expand Down

0 comments on commit d877064

Please sign in to comment.