Skip to content

Commit

Permalink
chore(ci): enable lcov reporter for Bun test (#3022)
Browse files Browse the repository at this point in the history
  • Loading branch information
exoego authored Jun 23, 2024
1 parent f7a6b06 commit 1bbaf51
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
node-version: '20.x'
- uses: oven-sh/setup-bun@v1
with:
bun-version: '1.0.25'
bun-version: '1.1.16'
- run: bun install
- run: bun run format
- run: bun run lint
Expand Down Expand Up @@ -92,9 +92,12 @@ jobs:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
with:
bun-version: '1.0.25'
bun-version: '1.1.16'
- run: bun run test:bun

- uses: actions/upload-artifact@v4
with:
name: coverage-bun
path: coverage/
fastly:
name: 'Fastly Compute'
runs-on: ubuntu-latest
Expand Down
7 changes: 6 additions & 1 deletion bunfig.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
[install.lockfile]
print = "yarn"
print = "yarn"

[test]
coverage = true
coverageReporter = ["text", "lcov"]
coverageDir = "coverage/raw/bun"

0 comments on commit 1bbaf51

Please sign in to comment.