Skip to content

Commit

Permalink
run coverage for all branches
Browse files Browse the repository at this point in the history
  • Loading branch information
jixingcn committed Nov 12, 2021
1 parent 624d7e9 commit 80fe411
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: 'coverage'

on:
push:
branches: [ master ]
branches: [ '*' ]
paths-ignore:
- '!.github/coverage.yml'
- 'docs/**'
Expand All @@ -29,10 +29,8 @@ jobs:
git submodule update --init external/draco
- name: 'build and make'
run: |
mkdir build && cd build
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -DLIBGLTF_CHARACTOR_ENCODING=UTF8 -DLIBGLTF_BUILD_COVERAGE=TRUE -DLIBGLTF_USE_GOOGLE_DRACO=TRUE -DLIBGLTF_USE_GOOGLE_DRACO_SUBMODULE=TRUE ../
make
cd ../
cmake -B build -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -DLIBGLTF_CHARACTOR_ENCODING=UTF8 -DLIBGLTF_BUILD_COVERAGE=TRUE -DLIBGLTF_USE_GOOGLE_DRACO=TRUE -DLIBGLTF_USE_GOOGLE_DRACO_SUBMODULE=TRUE .
cmake --build build --target runtest --config Debug
- name: 'run valgrind and gcovr'
run: |
cd build
Expand Down

0 comments on commit 80fe411

Please sign in to comment.