Skip to content

Commit

Permalink
update cpp-coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
alexchicn committed Oct 16, 2020
1 parent 6fa470a commit 88ec9a9
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 7 deletions.
12 changes: 12 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
service_name: github-action
exclude:
- ./source/runtest/
- ./tools/
- ./external/
- ./build/CMakeFiles/
- ./build/draco/
- ./build/draco_compression_attributes_pred_schemes_dec.cc
- ./build/draco_compression_mesh_traverser.cc
- ./build/draco_dec_config.cc
- ./build/draco_enc_config.cc
- ./output/
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ on:
paths-ignore:
- '!.github/build.yml'
- 'docs/**'
- '*.md'
- 'LICENSE'
- '.coveralls.yml'
- '.readthedocs.yml'
- '.git*'
- '*.md'
- 'LICENSE'

jobs:
check:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ on:
paths-ignore:
- '!.github/coverage.yml'
- 'docs/**'
- '*.md'
- 'LICENSE'
- '.readthedocs.yml'
- '.git*'
- '*.md'
- 'LICENSE'

jobs:
coveralls:
Expand Down Expand Up @@ -55,4 +55,5 @@ jobs:
gcov source/runtest/CMakeFiles/runtest.dir/runtest.cpp.gcda
gcovr --root=../source/ .
cd ../
coveralls --repo-token ${{ secrets.COVERALLS_REPO_TOKEN }} -e ./source/runtest/ -e ./tools/ --exclude ./external/ -e ./build/CMakeFiles/ -e ./build/draco/ -e ./build/draco_compression_attributes_pred_schemes_dec.cc -e ./build/draco_compression_mesh_traverser.cc -e ./build/draco_dec_config.cc -e ./build/draco_enc_config.cc -e ./output/ --gcov-options '\-lp'
export TRAVIS_JOB_ID=${{ github.run_id }}
coveralls --repo-token ${{ secrets.COVERALLS_REPO_TOKEN }} -y .coveralls.yml --gcov-options '\-lp'
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ on:
paths-ignore:
- '!.github/release.yml'
- 'docs/**'
- '*.md'
- 'LICENSE'
- '.coveralls.yml'
- '.readthedocs.yml'
- '.git*'
- '*.md'
- 'LICENSE'

jobs:
check:
Expand Down

0 comments on commit 88ec9a9

Please sign in to comment.