-
Notifications
You must be signed in to change notification settings - Fork 7
34 lines (26 loc) · 800 Bytes
/
test.yml
File metadata and controls
34 lines (26 loc) · 800 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: [workflow_call]
jobs:
test:
strategy:
matrix:
deno: ["v2.2.12"]
os: [macOS-latest, windows-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Setup repo
uses: actions/checkout@v2
- name: Setup Deno
uses: denoland/setup-deno@v1
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@master
with:
flag-name: run-${{ matrix.deno }}-${{ matrix.os }}
github-token: ${{ secrets.GITHUB_TOKEN }}
base-path: /