Skip to content

Instantly share code, notes, and snippets.

@mfaust35
mfaust35 / pre-push hook - run android project unit tests
Last active September 4, 2019 20:51
pre-push hook - run android project unit tests
#!/bin/sh
#
# Custom pre-push hook: ensure we can run tests with current git status that
# will correspond to the branch we are trying to push, then run unit tests
# and android instrument tests before pushing
#
# To use, name this file pre-push in a .git/hooks directory and make it
# executable
#