2c8057c43a
- run tests in a vm runner to have LVM and loop devices access - upload coverage data via wrapper to extract PR number
12 lines
180 B
Bash
Executable File
12 lines
180 B
Bash
Executable File
#!/bin/bash
|
|
|
|
PATH="$PATH:$HOME/.local/bin"
|
|
|
|
set -x
|
|
|
|
if [[ "$CI_COMMIT_BRANCH" =~ ^pr- ]]; then
|
|
PR=${CI_COMMIT_BRANCH#pr-}
|
|
exec codecov --pr "$PR" "$@"
|
|
fi
|
|
exec codecov "$@"
|