6969 strategy :
7070 fail-fast : false
7171 matrix :
72- image : ['oldest', ' latest']
73- backend : ['cpu', 'cuda', 'hip' ]
72+ image : ['latest']
73+ backend : ['cpu']
7474 needs : id_repo
7575 runs-on : ubuntu-latest
7676 permissions :
@@ -149,9 +149,6 @@ jobs:
149149 run : |
150150 docker load < ${{matrix.image}}_${{matrix.backend.name}}.tar
151151 rm ${{matrix.image}}_${{matrix.backend.name}}.tar
152- - name : Install gcovr
153- run : |
154- pipx install gcovr
155152 - name : Coverage test
156153 run : |
157154 cat<<-'EOF' > run.sh
@@ -175,20 +172,20 @@ jobs:
175172
176173 cmake --build build
177174 ctest --test-dir build
175+
176+ /root/.local/bin/gcovr \
177+ --exclude-throw-branches \
178+ --filter include/ddc \
179+ --lcov coverage.lcov \
180+ --merge-mode-functions=merge-use-line-0 \
181+ build
178182 EOF
179183
180184 docker run \
181185 --workdir ${{github.workspace}} \
182186 --volume ${{github.workspace}}:${{github.workspace}} \
183187 ghcr.io/cexa-project/ddc/${{matrix.image}}_${{matrix.backend.name}}:${GITHUB_SHA:0:7} \
184188 bash run.sh
185-
186- gcovr \
187- --exclude-throw-branches \
188- --filter include/ddc \
189- --lcov coverage.lcov \
190- --merge-mode-functions=merge-use-line-0 \
191- build
192189 - name : Upload coverage reports to Codecov with GitHub Action
193190 uses : codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d # v5.4.2
194191 with :
@@ -197,7 +194,7 @@ jobs:
197194 token : ${{secrets.CODECOV_TOKEN}}
198195
199196 test :
200- if : github.ref_name != 'main'
197+ if : false
201198 strategy :
202199 fail-fast : false
203200 matrix :
@@ -389,7 +386,7 @@ jobs:
389386 report_paths : ' ${{github.workspace}}/tests.xml'
390387
391388 test-with-sanitizer :
392- if : github.ref_name != 'main'
389+ if : false
393390 strategy :
394391 fail-fast : false
395392 matrix :
@@ -488,7 +485,7 @@ jobs:
488485 report_paths : ' ${{github.workspace}}/tests.xml'
489486
490487 clang-tidy-test :
491- if : github.ref_name != 'main'
488+ if : false
492489 strategy :
493490 fail-fast : false
494491 matrix :
0 commit comments