-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GHA: codecov/codecov-action@v4 (#2284)
> PRs made from forks to the upstream public repos will support tokenless (e.g. contributors to OS projects do not need the upstream repo's Codecov token)
- Loading branch information
Showing
3 changed files
with
6 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,8 +85,7 @@ jobs: | |
tests/petab_test_suite/ | ||
- name: Codecov | ||
if: github.event_name == 'pull_request' || github.repository_owner == 'AMICI-dev' | ||
uses: codecov/[email protected] | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
file: coverage.xml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,8 +66,7 @@ jobs: | |
${AMICI_DIR}/python/tests/test_splines.py | ||
- name: Codecov Python | ||
if: github.event_name == 'pull_request' || github.repository_owner == 'AMICI-dev' | ||
uses: codecov/[email protected] | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
file: build/coverage_py.xml | ||
|
@@ -86,8 +85,7 @@ jobs: | |
&& lcov -a coverage_cpp.info -a coverage_py.info -o coverage.info | ||
- name: Codecov CPP | ||
if: github.event_name == 'pull_request' || github.repository_owner == 'AMICI-dev' | ||
uses: codecov/[email protected] | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
file: coverage.info | ||
|
@@ -141,8 +139,7 @@ jobs: | |
${AMICI_DIR}/python/tests/test_splines_short.py | ||
- name: Codecov Python | ||
if: github.event_name == 'pull_request' || github.repository_owner == 'AMICI-dev' | ||
uses: codecov/[email protected] | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
file: build/coverage_py.xml | ||
|
@@ -161,8 +158,7 @@ jobs: | |
&& lcov -a coverage_cpp.info -a coverage_py.info -o coverage.info | ||
- name: Codecov CPP | ||
if: github.event_name == 'pull_request' || github.repository_owner == 'AMICI-dev' | ||
uses: codecov/[email protected] | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
file: coverage.info | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,8 +54,7 @@ jobs: | |
path: tests/amici-semantic-results | ||
|
||
- name: Codecov SBMLSuite | ||
if: github.event_name == 'pull_request' || github.repository_owner == 'AMICI-dev' | ||
uses: codecov/[email protected] | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
file: coverage_SBMLSuite.xml | ||
|