File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ FOO_BUILD_DIR=/opt/foo/build
1212FOO_OUTPUT_DIR = /opt/foo/output
1313FOO_TESTS_ENABLED = ON
1414FOO_RUN_TESTS = ON
15-
16- # Temporary: Turn off coverage reporting (requires lcov but not yet in DARMA/workflows setup requirements)
17- FOO_COVERAGE_ENABLED = OFF
15+ FOO_COVERAGE_ENABLED = ON
1816FOO_COVERAGE_REPORT = /opt/foo/output/cov
1917FOO_WERROR_ENABLED = 0
2018
21- # TODO: in CI this should be configurable per test environment
19+ # ENHANCEMENT: in CI we might add specific environment files per test environment
20+ # We might envisage in ci directory to put environment files like
21+ # - current .env and specific per setup like .env.{test_environment_name} (e.g. .env.wf-amd64-ubuntu-18.04-gcc-8-cpp)
Original file line number Diff line number Diff line change @@ -141,6 +141,7 @@ jobs:
141141 ${{ runner.os }}-${{ env.cache_name }}-${{ env.TS_YEAR }}-
142142 ${{ runner.os }}-${{ env.cache_name }}-
143143
144+ # ENHANCEMENT: remove lcov from there and add to base images in the workflows repository
144145 - name : PR tests
145146 run : |
146147 WORKSPACE=${{ github.workspace }}
@@ -149,6 +150,8 @@ jobs:
149150 fi
150151 CMD='
151152 cd '${WORKSPACE}'; \
153+ wget https://raw.githubusercontent.com/${{ env.CI_REPO }}/refs/heads/${{ env.CI_BRANCH }}/ci/shared/scripts/deps/packages.sh && chmod +x packages.sh
154+ ./packages.sh lcov
152155 ls -l;
153156 chmod +x ./build.sh; \
154157 \
@@ -210,4 +213,4 @@ jobs:
210213 if : always()
211214 with :
212215 name : foo-output-${{ matrix.runner.name }}
213- path : /opt/foo/output
216+ path : ${{ env.OUTPUT_DIR }}
You can’t perform that action at this time.
0 commit comments