File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed
Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -107,16 +107,17 @@ jobs:
107107 env :
108108 GEOENGINE_TEST_CODE_PATH : ${{ github.workspace }}/backend
109109 GEOENGINE_TEST_BUILD_TYPE : " release"
110- - name : Debug coverage # TODO: remove
111- uses : actions/upload-artifact@v4
112- with :
113- name : lcov.info
114- path : library/coverage.lcov
115- - name : Upload coverage to Coveralls
110+ - name : Report coverage to Coveralls
116111 if : ${{ inputs.coverage }}
117- uses : coverallsapp/github-action@v2
118- with :
119- base-path : library
112+ # 1. We need to adjust the paths in the lcov file to match the repository structure.
113+ # 2. We need to download the coveralls script and upload the report.
114+ run : |
115+ sed -i 's|SF:geoengine/|SF:|' ../coverage.lcov
116+ curl -sL https://coveralls.io/coveralls-linux.tar.gz | tar -xz && ./coveralls report ../coverage.lcov
117+ # If we don't run it in the code folder, the paths in the report will prefixed with `library/geoengine/`.
118+ working-directory : library/geoengine
119+ env :
120+ COVERALLS_REPO_TOKEN : ${{ github.token }}
120121 - name : Examples
121122 run : |
122123 ${{ steps.vars.outputs.VENV_CALL }}
You can’t perform that action at this time.
0 commit comments