Skip to content

Commit

Permalink
fix: add only name and use to upload code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
guidari committed Aug 22, 2024
1 parent 7de8f5f commit 8aa0f01
Showing 1 changed file with 6 additions and 19 deletions.
25 changes: 6 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ jobs:
yarn carbon-cli check --ignore '**/@(node_modules|examples|components|react|fixtures|compat)/**' 'packages/**/*.scss'
- name: Run tests
run: yarn test --ci
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/[email protected]
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: jest-components

e2e:
name: 'test:e2e'
Expand Down Expand Up @@ -247,22 +253,3 @@ jobs:
- name: Check AVT Runner job status
if: ${{ needs.avt-runner.result != 'success' }}
run: exit 1

build:
runs-on: ubuntu-latest
name: Test JS frontend
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v2
with:
node-version: '20'
- name: Install requirements
run: yarn install
- name: Run tests and collect coverage
run: yarn test
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/[email protected]
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: jest-components

0 comments on commit 8aa0f01

Please sign in to comment.