Skip to content

Commit 0e33ef8

Browse files
committed
ci - bypass strange lcov error
1 parent 8da1e4a commit 0e33ef8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.gitlab-ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ noether-cpu:
124124
after_script:
125125
- |
126126
if [ -f .SUCCESS ]; then
127-
lcov --directory . --capture --output-file coverage.info;
127+
lcov --directory . --capture --ignore-errors --output-file coverage.info;
128128
bash <(curl -s https://codecov.io/bash) -f coverage.info -t ${CODECOV_ACCESS_TOKEN} -F interface;
129129
bash <(curl -s https://codecov.io/bash) -f coverage.info -t ${CODECOV_ACCESS_TOKEN} -F gallery;
130130
bash <(curl -s https://codecov.io/bash) -f coverage.info -t ${CODECOV_ACCESS_TOKEN} -F backends;
@@ -238,7 +238,7 @@ noether-cuda:
238238
after_script:
239239
- |
240240
if [ -f .SUCCESS ]; then
241-
lcov --directory . --capture --output-file coverage.info;
241+
lcov --directory . --capture --ignore-errors --output-file coverage.info;
242242
bash <(curl -s https://codecov.io/bash) -f coverage.info -t ${CODECOV_ACCESS_TOKEN} -F interface;
243243
bash <(curl -s https://codecov.io/bash) -f coverage.info -t ${CODECOV_ACCESS_TOKEN} -F gallery;
244244
bash <(curl -s https://codecov.io/bash) -f coverage.info -t ${CODECOV_ACCESS_TOKEN} -F backends;
@@ -305,7 +305,7 @@ noether-cuda:
305305
# after_script:
306306
# - |
307307
# if [ -f .SUCCESS ]; then
308-
# lcov --directory . --capture --output-file coverage.info;
308+
# lcov --directory . --capture --ignore-errors --output-file coverage.info;
309309
# bash <(curl -s https://codecov.io/bash) -f coverage.info -t ${CODECOV_ACCESS_TOKEN} -F interface;
310310
# bash <(curl -s https://codecov.io/bash) -f coverage.info -t ${CODECOV_ACCESS_TOKEN} -F gallery;
311311
# bash <(curl -s https://codecov.io/bash) -f coverage.info -t ${CODECOV_ACCESS_TOKEN} -F backends;
@@ -408,7 +408,7 @@ noether-float:
408408
after_script:
409409
- |
410410
if [ $(cat .job_status) == "SUCCESS" ]; then
411-
lcov --directory . --capture --output-file coverage.info;
411+
lcov --directory . --capture --ignore-errors --output-file coverage.info;
412412
bash <(curl -s https://codecov.io/bash) -f coverage.info -t ${CODECOV_ACCESS_TOKEN} -F interface;
413413
bash <(curl -s https://codecov.io/bash) -f coverage.info -t ${CODECOV_ACCESS_TOKEN} -F gallery;
414414
bash <(curl -s https://codecov.io/bash) -f coverage.info -t ${CODECOV_ACCESS_TOKEN} -F backends;

0 commit comments

Comments
 (0)