mirror of
https://github.com/apache/superset.git
synced 2026-04-07 18:35:15 +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:
9
.github/workflows/bashlib.sh
vendored
9
.github/workflows/bashlib.sh
vendored
@@ -191,11 +191,6 @@ cypress-run-all() {
|
||||
|
||||
cypress-run "*/**/*"
|
||||
|
||||
# Upload code coverage separately so each page can have separate flags
|
||||
# -c will clean existing coverage reports, -F means add flags
|
||||
# || true to prevent CI failure on codecov upload
|
||||
codecov -cF "cypress" || true
|
||||
|
||||
# After job is done, print out Flask log for debugging
|
||||
say "::group::Flask log for default run"
|
||||
cat "$flasklog"
|
||||
@@ -211,8 +206,10 @@ cypress-run-all() {
|
||||
|
||||
cypress-run "sqllab/*" "Backend persist"
|
||||
|
||||
# Upload code coverage separately so each page can have separate flags
|
||||
# -c will clean existing coverage reports, -F means add flags
|
||||
# || true to prevent CI failure on codecov upload
|
||||
codecov -cF "cypress" || true
|
||||
codecov -c -F "cypress" || true
|
||||
|
||||
say "::group::Flask log for backend persist"
|
||||
cat "$flasklog"
|
||||
|
||||
Reference in New Issue
Block a user