mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
test: optimize codecov config (#13329)
* test: optimize codecov config to let GitHub checks always pass * Run tests on workflow changes, too
This commit is contained in:
@@ -34,10 +34,10 @@ REGEXES=()
|
||||
for CHECK in "$@"
|
||||
do
|
||||
if [[ ${CHECK} == "python" ]]; then
|
||||
REGEX="(^tests\/|^superset\/|^setup\.py|^requirements\/.+\.txt)"
|
||||
REGEX="(^\.github\/workflows\/.*python|^tests\/|^superset\/|^setup\.py|^requirements\/.+\.txt)"
|
||||
echo "Searching for changes in python files"
|
||||
elif [[ ${CHECK} == "frontend" ]]; then
|
||||
REGEX="(^superset-frontend\/)"
|
||||
REGEX="(^\.github\/workflows\/.*(frontend|e2e)|^superset-frontend\/)"
|
||||
echo "Searching for changes in frontend files"
|
||||
else
|
||||
echo "Invalid check: \"${CHECK}\". Falling back to exiting with FAILURE code"
|
||||
|
||||
Reference in New Issue
Block a user