-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (34 loc) · 1.01 KB
/
test.yml
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
36
name: Deno Test
on: [push,pull_request,workflow_call]
jobs:
check:
uses: kamekyame/gh-actions-test/.github/workflows/dfl-check.yml@main
test:
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check License Lines
uses: kt3k/license_checker@v1.0.6
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Install unar
run: |
sudo apt-get update
sudo apt-get install unar
- name: Download sample XML file
run: |
wget https://takabosoft.com/download/win/domino/Domino144.zip
unar Domino144.zip
cp -r Domino144/Module/ ./test/sample-files/
- name: Run test
run: |
deno task test
- name: Create coverage report
run: deno coverage ./test/coverage --lcov > ./test/coverage.lcov
- name: Codecov
uses: codecov/codecov-action@v2
with:
files: ./test/coverage.lcov
fail_ci_if_error: true