Skip to content

Commit

Permalink
Go inside build
Browse files Browse the repository at this point in the history
  • Loading branch information
alkino committed May 17, 2023
1 parent 226e9ae commit 7971732
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ jobs:
shell: bash
working-directory: ${{runner.workspace}}/nmodl
run: |
(cd ..; lcov --capture --initial --directory . --no-external --output-file build/coverage-base.info --exclude "*/ext/*")
ctest --output-on-failure
(cd ..; lcov --capture --directory . --no-external --output-file build/coverage-run.info --exclude "*/ext/*")
lcov --add-tracefile coverage-base.info --add-tracefile coverage-run.info --output-file coverage.info
lcov --list coverage.info
lcov --capture --initial --directory . --no-external --output-file build/coverage-base.info --exclude "*/ext/*"
(cd build; ctest --output-on-failure)
lcov --capture --directory . --no-external --output-file build/coverage-run.info --exclude "*/ext/*"
(cd build; lcov --add-tracefile coverage-base.info --add-tracefile coverage-run.info --output-file coverage.info)
(cd build; lcov --list coverage.info)
- uses: codecov/codecov-action@v3
with:
files: ./build/coverage.info
Expand Down

0 comments on commit 7971732

Please sign in to comment.