-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (27 loc) · 844 Bytes
/
test.yml
File metadata and controls
35 lines (27 loc) · 844 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
35
name: Test
on: [workflow_call]
jobs:
test:
strategy:
matrix:
deno: ["v2.6.10"]
# os: [macOS-latest, windows-latest, ubuntu-latest]
os: [macOS-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Setup repo
uses: actions/checkout@v6
- name: Setup Deno
uses: denoland/setup-deno@v2
with:
deno-version: ${{ matrix.deno }}
- name: Run Deno Tests
run: deno test --parallel --coverage=coverage
- name: Generate Coverage
run: deno coverage --unstable ./coverage --lcov > ./coverage/lcov.info
- name: Coveralls
uses: coverallsapp/github-action@v2.3.6
with:
flag-name: run-${{ matrix.deno }}-${{ matrix.os }}
github-token: ${{ secrets.GITHUB_TOKEN }}
base-path: /