Skip to content

Commit 7c9f298

Browse files
authored
chore(ci): Upload integration tests coverage to codecov.io (#9546)
* chore(ci): Upload integration tests coverage to codecov.io * fix
1 parent d69222c commit 7c9f298

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/push.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122
run: yarn lerna run --concurrency 1 --stream --no-prefix unit
123123
- name: Upload coverage reports to Codecov
124124
uses: codecov/codecov-action@v5
125-
if: (matrix.node-version == '22.x')
125+
if: (matrix.node-version == '22.x' && matrix.transpile-worker-threads == true)
126126
with:
127127
token: ${{ secrets.CODECOV_TOKEN }}
128128
files: ./packages/*/coverage/*
@@ -496,6 +496,15 @@ jobs:
496496
# Snowflake
497497
DRIVERS_TESTS_SNOWFLAKE_CUBEJS_DB_USER: ${{ secrets.DRIVERS_TESTS_CUBEJS_DB_SNOWFLAKE_USER }}
498498
DRIVERS_TESTS_SNOWFLAKE_CUBEJS_DB_PASS: ${{ secrets.DRIVERS_TESTS_CUBEJS_DB_SNOWFLAKE_PASS }}
499+
- name: Upload coverage reports to Codecov
500+
uses: codecov/codecov-action@v5
501+
if: (matrix.node-version == '22.x')
502+
with:
503+
token: ${{ secrets.CODECOV_TOKEN }}
504+
files: ./packages/*/coverage/*
505+
verbose: true
506+
flags: cube-backend
507+
fail_ci_if_error: false
499508

500509
integration-smoke:
501510
needs: [latest-tag-sha, build-cubestore, build-native-linux]

0 commit comments

Comments
 (0)