Only run spec that was changed

This commit is contained in:
Michael Miller 2021-02-09 19:08:58 -07:00
parent 969a1f7755
commit d06aaa9d14
No known key found for this signature in database
GPG key ID: FB9F12F7C646A4AD

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