Created
June 5, 2018 19:55
-
-
Save stongo/f14bd3fecd92f862e41a740b7184ce71 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test_skip: &test_skip | |
name: test skip check | |
command: | | |
if git log -1 | grep '\[test skip\]'; then | |
echo "skipping tests" | |
exit 1 | |
fi | |
version: 2 | |
jobs: | |
foo: | |
<<: *defaults | |
steps: | |
- checkout | |
- run: | |
<<: *test_skip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment