forked from openstreetmap/mod_tile
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Report coverage for
latest
Mapnik as well (openstreetmap#375)
_Also_: * Don't build unneeded `latest` Mapnik `benchmarks`/`demos`/`utilities`
- Loading branch information
1 parent
b3c19c1
commit a0a1092
Showing
4 changed files
with
76 additions
and
28 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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
inputs: | ||
lcov-extra-options: | ||
default: "" | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Process `mod_tile` coverage results | ||
run: | | ||
ctest -T coverage || true | ||
lcov ${{ inputs.lcov-extra-options }} \ | ||
--capture \ | ||
--directory . \ | ||
--output-file coverage.info | ||
lcov ${{ inputs.lcov-extra-options }} \ | ||
--output-file coverage.info \ | ||
--remove coverage.info \ | ||
"${GITHUB_WORKSPACE}/includes/catch/catch.hpp" \ | ||
"${GITHUB_WORKSPACE}/src/gen_tile_test.cpp" \ | ||
"/usr/*" | ||
working-directory: build | ||
shell: bash --noprofile --norc -euxo pipefail {0} | ||
|
||
- name: Report `mod_tile` coverage results to `codecov.io` | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
files: build/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
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
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