-
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (27 loc) · 680 Bytes
/
test.yml
File metadata and controls
34 lines (27 loc) · 680 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Test
on:
push:
branches: [main]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
os: [macOS-latest, windows-latest, ubuntu-latest]
deno: [v1.x]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Deno
uses: denolib/setup-deno@v2
with:
deno-version: ${{ matrix.deno }}
- name: Test
run: deno task coverage
- name: Upload coverage
uses: codecov/codecov-action@v4
with:
name: ${{ matrix.os }}-${{ matrix.deno }}
files: ./dist/coverage/lcov.info
token: "${{ secrets.CODECOV_TOKEN }}"