Merge branch 'gitlab-test-results' into 'release/0.10'

Add test results to GitLab CI

See merge request arctic-fox/spectator!31
This commit is contained in:
Mike Miller 2021-02-10 01:43:11 +00:00
commit 572f6061b2

View file

@ -14,7 +14,13 @@ before_script:
spec:
script:
- shards
- crystal spec --error-on-warnings
- crystal spec --error-on-warnings --junit_output=.
artifacts:
when: always
paths:
- output.xml
reports:
junit: output.xml
format:
script:
@ -31,8 +37,14 @@ nightly:
allow_failure: true
script:
- shards --ignore-crystal-version
- crystal spec --error-on-warnings
- crystal spec --error-on-warnings --junit_output=.
- crystal tool format --check
artifacts:
when: always
paths:
- output.xml
reports:
junit: output.xml
pages:
stage: deploy