mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Add utility to test specs individually
This commit is contained in:
parent
c256ef763e
commit
321c15407d
2 changed files with 10 additions and 0 deletions
|
@ -51,6 +51,11 @@ spec mocks:
|
|||
script:
|
||||
- crystal spec --error-on-warnings --junit_output=. spec/spectator/mocks/
|
||||
|
||||
spec individual:
|
||||
extends: spec
|
||||
script:
|
||||
- util/test-all-individually.sh
|
||||
|
||||
format:
|
||||
script:
|
||||
- shards
|
||||
|
|
5
util/test-all-individually.sh
Executable file
5
util/test-all-individually.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
find spec/ -type f -name \*_spec.cr -print0 | \
|
||||
xargs -0 -n1 time crystal spec --error-on-warnings -v
|
Loading…
Reference in a new issue