fix: fix requestError return null and signatureV4 run in Node 8.x (#1… #692
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
# Test Coverage # | |
name: CodeCov | |
on: | |
push: | |
branches: [master] | |
workflow_run: | |
workflows: ['Master branch'] | |
types: | |
- completed | |
jobs: | |
CodeCov: | |
environment: ali_oss_AK | |
runs-on: ubuntu-latest | |
env: | |
ONCI: true | |
ALI_SDK_OSS_ID: ${{secrets.ALI_SDK_OSS_ID}} | |
ALI_SDK_OSS_SECRET: ${{secrets.ALI_SDK_OSS_SECRET}} | |
ALI_SDK_OSS_REGION: ${{secrets.ALI_SDK_OSS_REGION}} | |
ALI_SDK_STS_BUCKET: ${{secrets.ALI_SDK_STS_BUCKET}} | |
ALI_SDK_STS_ID: ${{secrets.ALI_SDK_STS_ID}} | |
ALI_SDK_STS_REGION: ${{secrets.ALI_SDK_STS_REGION}} | |
ALI_SDK_STS_ROLE: ${{secrets.ALI_SDK_STS_ROLE}} | |
ALI_SDK_STS_SECRET: ${{secrets.ALI_SDK_STS_SECRET}} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: test and report upload | |
run: | | |
npm install | |
npm run tsc | |
npx nyc --reporter=lcov node_modules/.bin/_mocha -t 120000 -r should test/node/*.test.js test/node/**/*.test.js | |
npx codecov -t ${{secrets.CODECOV_KEY}} |