Skip to content

Instantly share code, notes, and snippets.

@stongo
Created June 5, 2018 19:55
Show Gist options
  • Save stongo/f14bd3fecd92f862e41a740b7184ce71 to your computer and use it in GitHub Desktop.
Save stongo/f14bd3fecd92f862e41a740b7184ce71 to your computer and use it in GitHub Desktop.
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