mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Split spec into multiple jobs
This commit is contained in:
parent
d0e5f6ca35
commit
ce7feb8f0f
1 changed files with 31 additions and 2 deletions
|
@ -13,8 +13,7 @@ before_script:
|
|||
|
||||
spec:
|
||||
script:
|
||||
- shards
|
||||
- crystal spec --error-on-warnings --junit_output=.
|
||||
- crystal spec --error-on-warnings --junit_output=. spec/runtime_example_spec.cr spec/matchers/ spec/spectator/*.cr
|
||||
artifacts:
|
||||
when: always
|
||||
paths:
|
||||
|
@ -22,6 +21,36 @@ spec:
|
|||
reports:
|
||||
junit: output.xml
|
||||
|
||||
spec docs:
|
||||
extends: spec
|
||||
script:
|
||||
- crystal spec --error-on-warnings --junit_output=. spec/docs/
|
||||
|
||||
spec features:
|
||||
extends: spec
|
||||
script:
|
||||
- crystal spec --error-on-warnings --junit_output=. spec/features/
|
||||
|
||||
spec regression:
|
||||
extends: spec
|
||||
script:
|
||||
- crystal spec --error-on-warnings --junit_output=. spec/issues/
|
||||
|
||||
spec rspec:
|
||||
extends: spec
|
||||
script:
|
||||
- crystal spec --error-on-warnings --junit_output=. spec/rspec/
|
||||
|
||||
spec dsl:
|
||||
extends: spec
|
||||
script:
|
||||
- crystal spec --error-on-warnings --junit_output=. spec/spectator/dsl/
|
||||
|
||||
spec mocks:
|
||||
extends: spec
|
||||
script:
|
||||
- crystal spec --error-on-warnings --junit_output=. spec/mocks/
|
||||
|
||||
format:
|
||||
script:
|
||||
- shards
|
||||
|
|
Loading…
Reference in a new issue