This is an automated email from the ASF dual-hosted git repository.

tai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new fe9f614  fix(cypress): prevent CI failure on codecov failure (#10892)
fe9f614 is described below

commit fe9f6148d8ddd966e1de7d268ec5f2f230042f3f
Author: ʈᵃᵢ <[email protected]>
AuthorDate: Tue Sep 15 14:31:43 2020 -0700

    fix(cypress): prevent CI failure on codecov failure (#10892)
---
 .github/workflows/bashlib.sh | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/bashlib.sh b/.github/workflows/bashlib.sh
index 8fd66e6..5cd9221 100644
--- a/.github/workflows/bashlib.sh
+++ b/.github/workflows/bashlib.sh
@@ -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"

Reply via email to