mirror of
https://github.com/apache/superset.git
synced 2026-04-07 18:35:15 +00:00
fix: Switching to local codecov script (#14170)
* Switching to local codecov script * Adding license / update instructions * Fixing FE build * Fixing FE codecov test
This commit is contained in:
7
.github/workflows/bashlib.sh
vendored
7
.github/workflows/bashlib.sh
vendored
@@ -131,12 +131,7 @@ testdata() {
|
||||
|
||||
codecov() {
|
||||
say "::group::Upload code coverage"
|
||||
local codecovScript="${HOME}/codecov.sh"
|
||||
# download bash script if needed
|
||||
if [[ ! -f "$codecovScript" ]]; then
|
||||
curl -s https://codecov.io/bash >"$codecovScript"
|
||||
fi
|
||||
bash "$codecovScript" "$@"
|
||||
bash ".github/workflows/codecov.sh" "$@"
|
||||
say "::endgroup::"
|
||||
}
|
||||
|
||||
|
||||
1903
.github/workflows/codecov.sh
vendored
Executable file
1903
.github/workflows/codecov.sh
vendored
Executable file
File diff suppressed because it is too large
Load Diff
3
.github/workflows/superset-frontend.yml
vendored
3
.github/workflows/superset-frontend.yml
vendored
@@ -44,5 +44,4 @@ jobs:
|
||||
- name: Upload code coverage
|
||||
if: steps.check.outcome == 'failure'
|
||||
working-directory: ./superset-frontend
|
||||
run: |
|
||||
bash <(curl -s https://codecov.io/bash) -c -F javascript
|
||||
run: ../.github/workflows/codecov.sh -c -F javascript
|
||||
|
||||
@@ -81,7 +81,7 @@ jobs:
|
||||
- name: Upload code coverage
|
||||
if: steps.check.outcome == 'failure'
|
||||
run: |
|
||||
bash <(curl -s https://codecov.io/bash) -c -F python -F presto
|
||||
bash .github/workflows/codecov.sh -c -F python -F presto
|
||||
|
||||
test-postgres-hive:
|
||||
if: github.event.pull_request.draft == false
|
||||
@@ -156,4 +156,4 @@ jobs:
|
||||
- name: Upload code coverage
|
||||
if: steps.check.outcome == 'failure'
|
||||
run: |
|
||||
bash <(curl -s https://codecov.io/bash) -c -F python -F hive
|
||||
bash .github/workflows/codecov.sh -c -F python -F hive
|
||||
|
||||
@@ -70,7 +70,7 @@ jobs:
|
||||
- name: Upload code coverage
|
||||
if: steps.check.outcome == 'failure'
|
||||
run: |
|
||||
bash <(curl -s https://codecov.io/bash) -c -F python -F mysql
|
||||
bash .github/workflows/codecov.sh -c -F python -F mysql
|
||||
|
||||
test-postgres:
|
||||
if: github.event.pull_request.draft == false
|
||||
@@ -134,7 +134,7 @@ jobs:
|
||||
- name: Upload code coverage
|
||||
if: steps.check.outcome == 'failure'
|
||||
run: |
|
||||
bash <(curl -s https://codecov.io/bash) -c -F python -F postgres
|
||||
bash .github/workflows/codecov.sh -c -F python -F postgres
|
||||
|
||||
test-sqlite:
|
||||
if: github.event.pull_request.draft == false
|
||||
@@ -190,4 +190,4 @@ jobs:
|
||||
- name: Upload code coverage
|
||||
if: steps.check.outcome == 'failure'
|
||||
run: |
|
||||
bash <(curl -s https://codecov.io/bash) -c -F python -F sqlite
|
||||
bash .github/workflows/codecov.sh -c -F python -F sqlite
|
||||
|
||||
Reference in New Issue
Block a user