Skip to content

Commit

Permalink
✅ add precommit test script
Browse files Browse the repository at this point in the history
  • Loading branch information
dmiller15 committed Nov 12, 2021
1 parent 2b9d427 commit 196d4b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test_scripts/check-changed.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
for cwl_file in $(git diff --staged --name-only | grep '.*\.cwl$')
do
cwltool --validate "$cwl_file"
done

0 comments on commit 196d4b9

Please sign in to comment.