Skip to content

Commit

Permalink
ci: configure codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
barmac authored Feb 8, 2024
1 parent 9f4bc93 commit 8cd808e
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,22 @@ jobs:
env:
TEST_BROWSERS: ChromeHeadless
run: npm run all
- name: Upload Coverage
- name: Import Secrets
if: matrix.os == 'ubuntu-20.04'
id: secrets
uses: hashicorp/[email protected]
with:
url: ${{ secrets.VAULT_ADDR }}
method: approle
roleId: ${{ secrets.VAULT_ROLE_ID }}
secretId: ${{ secrets.VAULT_SECRET_ID }}
exportEnv: false
secrets: |
secret/data/products/desktop-modeler/camunda/camunda-bpmn-js-behaviors CODECOV_TOKEN;
- name: Upload coverage
if: matrix.os == 'ubuntu-20.04'
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
CODECOV_TOKEN: ${{ steps.secrets.outputs.CODECOV_TOKEN }}

0 comments on commit 8cd808e

Please sign in to comment.