Bump codecov/codecov-action from 4.3.0 to 4.3.1 #171
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Run Unit Tests | |
run: | | |
npm ci | |
npm run test | |
- name: Codecov | |
uses: codecov/[email protected] | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
uppercase-transformation-integration-test: | |
runs-on: ubuntu-latest | |
needs: unit-tests | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build | |
uses: ./.github/actions/build | |
- name: Act | |
uses: ./ | |
with: | |
name-transformation: uppercase | |
parse-json-secrets: true | |
secret-ids: | | |
SampleSecret1 | |
/special/chars/secret | |
0/special/chars/secret | |
PrefixSecret* | |
JsonSecret | |
SAMPLESECRET1_ALIAS, SampleSecret1 | |
- name: Assert | |
run: npm run integration-test __integration_tests__/name_transformation/uppercase.test.ts | |
lowercase-transformation-integration-test: | |
runs-on: ubuntu-latest | |
needs: unit-tests | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build | |
uses: ./.github/actions/build | |
- name: Act | |
uses: ./ | |
with: | |
name-transformation: lowercase | |
parse-json-secrets: true | |
secret-ids: | | |
SampleSecret1 | |
/special/chars/secret | |
0/special/chars/secret | |
PrefixSecret* | |
JsonSecret | |
samplesecret1_alias, SampleSecret1 | |
- name: Assert | |
run: npm run integration-test __integration_tests__/name_transformation/lowercase.test.ts | |
none-transformation-integration-test: | |
runs-on: ubuntu-latest | |
needs: unit-tests | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build | |
uses: ./.github/actions/build | |
- name: Act | |
uses: ./ | |
with: | |
name-transformation: none | |
parse-json-secrets: true | |
secret-ids: | | |
SampleSecret1 | |
/special/chars/secret | |
0/special/chars/secret | |
PrefixSecret* | |
JsonSecret | |
SampleSecret1_Alias, SampleSecret1 | |
- name: Assert | |
run: npm run integration-test __integration_tests__/name_transformation/none.test.ts | |
default-name-transformation-param-integration-test: | |
runs-on: ubuntu-latest | |
needs: unit-tests | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build | |
uses: ./.github/actions/build | |
- name: Act | |
uses: ./ | |
with: | |
parse-json-secrets: true | |
secret-ids: | | |
SampleSecret1 | |
/special/chars/secret | |
0/special/chars/secret | |
PrefixSecret* | |
JsonSecret | |
SAMPLESECRET1_ALIAS, SampleSecret1 | |
- name: Assert | |
run: npm run integration-test __integration_tests__/name_transformation/uppercase.test.ts | |
default-parse-json-secrets-integration-test: | |
runs-on: ubuntu-latest | |
needs: unit-tests | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build | |
uses: ./.github/actions/build | |
- name: Act | |
uses: ./ | |
with: | |
secret-ids: JsonSecret | |
- name: Assert Default Is No Json Secrets | |
run: npm run integration-test __integration_tests__/parse_json_secrets.test.ts |