mirror of
https://github.com/apache/superset.git
synced 2026-04-09 11:25:23 +00:00
fix(cypress): prevent CI failure on codecov failure (#10892)
This commit is contained in:
7
.github/workflows/bashlib.sh
vendored
7
.github/workflows/bashlib.sh
vendored
@@ -189,7 +189,8 @@ cypress-run-all() {
|
||||
|
||||
# Upload code coverage separately so each page can have separate flags
|
||||
# -c will clean existing coverage reports, -F means add flags
|
||||
codecov -cF "cypress"
|
||||
# || 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"
|
||||
@@ -205,7 +206,9 @@ cypress-run-all() {
|
||||
local flaskProcessId=$!
|
||||
|
||||
cypress-run "sqllab/*" "Backend persist"
|
||||
codecov -cF "cypress"
|
||||
|
||||
# || true to prevent CI failure on codecov upload
|
||||
codecov -cF "cypress" || true
|
||||
|
||||
say "::group::Flask log for backend persist"
|
||||
cat "$flasklog"
|
||||
|
||||
Reference in New Issue
Block a user