2021-08-24 23:29:12 +00:00
|
|
|
#
|
|
|
|
# cache please
|
|
|
|
cache:
|
|
|
|
key: ${CI_COMMIT_REF_SLUG}
|
|
|
|
paths:
|
|
|
|
- node_modules/
|
|
|
|
|
|
|
|
|
|
|
|
#
|
2021-08-25 02:44:41 +00:00
|
|
|
# libresilient test suite
|
2021-08-24 23:29:12 +00:00
|
|
|
libresilient-test:
|
|
|
|
stage: test
|
|
|
|
script:
|
2021-08-25 02:24:41 +00:00
|
|
|
- npm ci --include=dev
|
2021-08-31 23:04:01 +00:00
|
|
|
- npx jest --coverage --ci --reporters=default --reporters=jest-junit
|
2021-08-31 23:14:33 +00:00
|
|
|
coverage: /All files[^|]*\|[^|]*\s+([\d\.]+)/
|
2021-08-31 23:04:01 +00:00
|
|
|
artifacts:
|
|
|
|
when: always
|
|
|
|
reports:
|
|
|
|
junit:
|
|
|
|
- junit.xml
|