Try with image containing lcov

test-codeclimate2
Jelte Fennema 2022-12-02 16:26:32 +01:00
parent c7ed48f855
commit fd4fbe22fe
1 changed files with 22 additions and 2 deletions

View File

@ -6,7 +6,7 @@ orbs:
parameters: parameters:
image_suffix: image_suffix:
type: string type: string
default: '-v9372c09' default: '-dev-f97be6d'
pg13_version: pg13_version:
type: string type: string
default: '13.9' default: '13.9'
@ -163,6 +163,11 @@ jobs:
exit 1 exit 1
fi fi
when: on_fail when: on_fail
- run:
name: 'Create codeclimate coverage'
command: |
lcov --directory . --capture --output-file lcov.info
codeclimate/test-reporter format-coverage -t lcov -o codeclimate/$(openssl rand -hex 30).json lcov.info
- run: - run:
name: 'Copy coredumps' name: 'Copy coredumps'
command: | command: |
@ -248,6 +253,11 @@ jobs:
fi fi
when: on_fail when: on_fail
- run:
name: 'Create codeclimate coverage'
command: |
lcov --directory . --capture --output-file lcov.info
codeclimate/test-reporter format-coverage -t lcov -o codeclimate/$(openssl rand -hex 30).json lcov.info
- run: - run:
name: 'Copy logfiles' name: 'Copy logfiles'
command: | command: |
@ -335,6 +345,11 @@ jobs:
exit 1 exit 1
fi fi
when: on_fail when: on_fail
- run:
name: 'Create codeclimate coverage'
command: |
lcov --directory . --capture --output-file lcov.info
codeclimate/test-reporter format-coverage -t lcov -o codeclimate/$(openssl rand -hex 30).json lcov.info
- run: - run:
name: 'Copy coredumps' name: 'Copy coredumps'
command: | command: |
@ -397,7 +412,7 @@ 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
test-reporter format-coverage -t lcov -o codeclimate/$(openssl rand -hex 30).json lcov.info codeclimate/test-reporter format-coverage -t lcov -o codeclimate/$(openssl rand -hex 30).json lcov.info
- run: - run:
name: 'Regressions' name: 'Regressions'
command: | command: |
@ -484,6 +499,11 @@ jobs:
command: | command: |
gosu circleci make -C src/test/<< parameters.suite >> << parameters.make >> gosu circleci make -C src/test/<< parameters.suite >> << parameters.make >>
no_output_timeout: 2m no_output_timeout: 2m
- run:
name: 'Create codeclimate coverage'
command: |
lcov --directory . --capture --output-file lcov.info
codeclimate/test-reporter format-coverage -t lcov -o codeclimate/$(openssl rand -hex 30).json lcov.info
- run: - run:
name: 'Copy coredumps' name: 'Copy coredumps'
command: | command: |