Skip to content

Instantly share code, notes, and snippets.

View Jarvvski's full-sized avatar
🚀

Jarvis Jarvvski

🚀
View GitHub Profile
#!/bin/bash
# if we are testing a PR, merge it with the latest master branch before testing
# this ensures that all tests pass with the latest changes in master.
set -eu -o pipefail
PR_NUMBER=${CI_PULL_REQUEST//*pull\//}
err=0
if [ -z "$PR_NUMBER" ]; then