mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
ci: always execute tests on non-PRs (#13260)
This commit is contained in:
@@ -22,6 +22,10 @@
|
||||
# to check for python changes, run with CHECKS=python
|
||||
# To check for frontend changes, run with CHECKS=frontend
|
||||
# To check for python and frontend changes, run with CHECKS="python frontend"
|
||||
if [[ -z ${PR_NUMBER} ]]; then
|
||||
echo "Not a PR; Exiting with FAILURE code"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
URL="https://api.github.com/repos/${GITHUB_REPO}/pulls/${PR_NUMBER}/files"
|
||||
FILES=$(curl -s -X GET -G "${URL}" | jq -r '.[] | .filename')
|
||||
|
||||
Reference in New Issue
Block a user