Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
c4spar committed Aug 21, 2024
1 parent 253dc95 commit e72b06e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,11 @@ jobs:
with:
bun-version: canary

- name: Enable corepack
run: command -v corepack >/dev/null 2>&1 && corepack enable

- name: Install deps
run: deno task setup:${{ matrix.runtime }}

- name: Run tests
run:
- command -v corepack >/dev/null 2>&1 && corepack enable
- deno task setup:${{ matrix.runtime }}
- deno task test:${{ matrix.runtime }}
run: deno task test:${{ matrix.runtime }}
15 changes: 9 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,16 @@ jobs:
with:
bun-version-file: ".bun-version"

- name: Test ${{ matrix.runtime }}
run:
- command -v corepack >/dev/null 2>&1 && corepack enable
- deno task setup:${{ matrix.runtime }}
- deno task coverage:${{ matrix.runtime }}
- name: Setup corepack
run: command -v corepack >/dev/null 2>&1 && corepack enable

- name: Upload ${{ matrix.runtime }} coverage
- name: Install deps
run: deno task setup:${{ matrix.runtime }}

- name: Run tests
run: deno task test:${{ matrix.runtime }}

- name: Upload coverage
uses: codecov/codecov-action@v4
with:
name: ${{ matrix.runtime }}-${{ matrix.os }}
Expand Down

0 comments on commit e72b06e

Please sign in to comment.