Last active
November 28, 2019 10:20
-
-
Save gibizer/4b1c0e5356eb93efcc56845bc0cc040e 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
# run test for each commit in a commit chain. Stop at the commit that fails the test. | |
# It allows editing the commit, then git commit --amend , then git rebase --continue , | |
# the --continue will re-run the tests before it moves to the next commit. | |
# The progress of the rebase can be monitored in the file .git/rebase-merge/done | |
git rebase -i <rebase-target> --reschedule-failed-exec --exec "tox -e py27 && tox -e fast8" | |
# run test in parallel | |
git rebase -i <rebase-target> --reschedule-failed-exec --exec " echo 'functional py27 fast8' | tr ' ' '\n' | parallel --lb 'set -o pipefail && rtox -e {} | tee /tmp/{}.log'" | |
git rebase -i <rebase-target> --reschedule-failed-exec --exec "ptox functional py27 fast8" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment