Skip to content

Commit

Permalink
github: Run coverage tests only in separate branch
Browse files Browse the repository at this point in the history
  • Loading branch information
saprykin committed May 16, 2024
1 parent 41ac078 commit 2452f9a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ jobs:
cd ../plibsys-build
ctest
- name: coverage-install
if: ${{ success() && matrix.USE_COV == '1' && !github.event.issue.pull_request }}
runs-on: coverage
if: ${{ success() && matrix.USE_COV == '1' }}
run: |
pwd
if [ "$RUNNER_OS" == "Linux" ]; then
Expand All @@ -62,7 +63,8 @@ jobs:
fi
pip install codecov-cli
- name: coverage-run
if: ${{ success() && matrix.USE_COV == '1' && !github.event.issue.pull_request }}
runs-on: coverage
if: ${{ success() && matrix.USE_COV == '1' }}
run: |
pwd
codecovcli create-commit -t ${{ secrets.CODECOV_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![](https://ci.appveyor.com/api/projects/status/yvu21lawtkkfpn4b/branch/master?svg=true)](https://ci.appveyor.com/project/saprykin/plibsys/branch/master)
[![](https://sonarcloud.io/api/project_badges/measure?project=saprykin_plibsys&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=saprykin_plibsys)
[![](https://scan.coverity.com/projects/8333/badge.svg)](https://scan.coverity.com/projects/saprykin-plibsys)
[![](https://codecov.io/gh/saprykin/plibsys/branch/master/graph/badge.svg)](https://codecov.io/gh/saprykin/plibsys)
[![](https://codecov.io/gh/saprykin/plibsys/branch/coverage/graph/badge.svg)](https://codecov.io/gh/saprykin/plibsys)
[![](https://codedocs.xyz/saprykin/plibsys.svg)](https://codedocs.xyz/saprykin/plibsys/)
[![](https://img.shields.io/badge/license-MIT-ff69b4.svg)](https://opensource.org/licenses/MIT)

Expand Down

0 comments on commit 2452f9a

Please sign in to comment.