Fix coverage

test-codeclimate-gcov
Jelte Fennema 2022-12-05 11:34:05 +01:00
parent 759d5ab4eb
commit 5b2bd09198
1 changed files with 5 additions and 5 deletions

View File

@ -167,8 +167,8 @@ jobs:
name: 'Create codeclimate coverage' name: 'Create codeclimate coverage'
command: | command: |
lcov --directory . --capture --output-file lcov.info lcov --directory . --capture --output-file lcov.info
sed "s=^SF:$PWD=SF:=g" -i lcov.info # relative pats are required by codeclimate
codeclimate/test-reporter format-coverage -t lcov -o codeclimate/$CIRCLE_JOB.json lcov.info codeclimate/test-reporter format-coverage -t lcov -o codeclimate/$CIRCLE_JOB.json lcov.info
sed "s/^SF:$PWD//g" -i codeclimate/$CIRCLE_JOB.json
- run: - run:
name: 'Copy coredumps' name: 'Copy coredumps'
command: | command: |
@ -263,8 +263,8 @@ jobs:
name: 'Create codeclimate coverage' name: 'Create codeclimate coverage'
command: | command: |
lcov --directory . --capture --output-file lcov.info lcov --directory . --capture --output-file lcov.info
sed "s=^SF:$PWD=SF:=g" -i lcov.info # relative pats are required by codeclimate
codeclimate/test-reporter format-coverage -t lcov -o codeclimate/$CIRCLE_JOB.json lcov.info codeclimate/test-reporter format-coverage -t lcov -o codeclimate/$CIRCLE_JOB.json lcov.info
sed "s/^SF:$PWD//g" -i codeclimate/$CIRCLE_JOB.json
- run: - run:
name: 'Copy logfiles' name: 'Copy logfiles'
command: | command: |
@ -361,8 +361,8 @@ jobs:
name: 'Create codeclimate coverage' name: 'Create codeclimate coverage'
command: | command: |
lcov --directory . --capture --output-file lcov.info lcov --directory . --capture --output-file lcov.info
sed "s=^SF:$PWD=SF:=g" -i lcov.info # relative pats are required by codeclimate
codeclimate/test-reporter format-coverage -t lcov -o codeclimate/$CIRCLE_JOB.json lcov.info codeclimate/test-reporter format-coverage -t lcov -o codeclimate/$CIRCLE_JOB.json lcov.info
sed "s/^SF:$PWD//g" -i codeclimate/$CIRCLE_JOB.json
- run: - run:
name: 'Copy coredumps' name: 'Copy coredumps'
command: | command: |
@ -430,8 +430,8 @@ jobs:
name: 'Create codeclimate coverage' name: 'Create codeclimate coverage'
command: | command: |
lcov --directory . --capture --output-file lcov.info lcov --directory . --capture --output-file lcov.info
sed "s=^SF:$PWD=SF:=g" -i lcov.info # relative pats are required by codeclimate
codeclimate/test-reporter format-coverage -t lcov -o codeclimate/$CIRCLE_JOB.json lcov.info codeclimate/test-reporter format-coverage -t lcov -o codeclimate/$CIRCLE_JOB.json lcov.info
sed "s/^SF:$PWD//g" -i codeclimate/$CIRCLE_JOB.json
- run: - run:
name: 'Regressions' name: 'Regressions'
command: | command: |
@ -527,8 +527,8 @@ jobs:
name: 'Create codeclimate coverage' name: 'Create codeclimate coverage'
command: | command: |
lcov --directory . --capture --output-file lcov.info lcov --directory . --capture --output-file lcov.info
sed "s=^SF:$PWD=SF:=g" -i lcov.info # relative pats are required by codeclimate
codeclimate/test-reporter format-coverage -t lcov -o codeclimate/$CIRCLE_JOB.json lcov.info codeclimate/test-reporter format-coverage -t lcov -o codeclimate/$CIRCLE_JOB.json lcov.info
sed "s/^SF:$PWD//g" -i codeclimate/$CIRCLE_JOB.json
- run: - run:
name: 'Copy coredumps' name: 'Copy coredumps'
command: | command: |