Skip to content

Commit

Permalink
[test] There appear to be subtle difference in code coverage in CI as…
Browse files Browse the repository at this point in the history
… well as locally. Removing thresholdAutoUpdate for react-ui, for now.
  • Loading branch information
Ghislain89 committed Nov 7, 2023
1 parent 80198d0 commit 47c8be8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
name: Ubuntu/Node.js v18
runs-on: ubuntu-latest

# env:
# TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
# TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}

steps:
- uses: actions/checkout@v4
Expand All @@ -30,7 +30,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 18
# cache: 'pnpm'
cache: 'pnpm'

- name: Install dependencies
run: pnpm install
Expand Down
9 changes: 4 additions & 5 deletions packages/libs/react-ui/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ export default mergeConfig(
environment: 'happy-dom',
coverage: {
provider: 'v8',
lines: 55.58,
functions: 32.72,
branches: 88.38,
statements: 55.58,
thresholdAutoUpdate: true,
lines: 55,
functions: 32,
branches: 88,
statements: 55,
},
},
}),
Expand Down

0 comments on commit 47c8be8

Please sign in to comment.