codecov-wrapper 180 B

1234567891011
  1. #!/bin/bash
  2. PATH="$PATH:$HOME/.local/bin"
  3. set -x
  4. if [[ "$CI_COMMIT_BRANCH" =~ ^pr- ]]; then
  5. PR=${CI_COMMIT_BRANCH#pr-}
  6. exec codecov --pr "$PR" "$@"
  7. fi
  8. exec codecov "$@"