Only run spec that was changed

This commit is contained in:
Michael Miller 2021-02-09 19:08:58 -07:00 committed by Mike Miller
parent 572f6061b2
commit b2aaac9a46
1 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,11 @@
files: ./**/*.cr
files: ./src/**/*.cr
run: time crystal spec --error-trace
---
files: ./src/**/*.cr
run: bin/ameba %file%
---
files: ./spec/**/*.cr
run: time crystal spec --error-trace %file%
---
files: ./shard.yml
run: shards