Commit 9a39fb06 authored by Jarrod's avatar Jarrod 💬

Add test/CI stuff

parent 11ae359e
Pipeline #1275 passed with stages
in 43 seconds
......@@ -133,3 +133,4 @@ lib-cov
*.out
*.pid
coverage
cache:
key: "$CI_BUILD_REF"
paths:
- node_modules/
test:
stage: test
script:
- npm install
- npm test
coverage: '/All\s+files\s+[|]\s+([\d.]+)/'
artifacts:
paths:
- ./coverage
pages:
stage: deploy
script:
- mkdir public
- echo '<a href="./coverage">Coverage</a>' > public/index.html
- mv coverage/lcov-report public/coverage
artifacts:
paths:
- public
expire_in: 30 days
only:
- master
it('should have tests', () => {
})
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment