-
Notifications
You must be signed in to change notification settings - Fork 3
61 lines (48 loc) · 1.46 KB
/
master.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: master
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Tests
run: |
cd tests/integration/docker_test
docker-compose up -d drivers
docker exec drivers deno test -A --config tsconfig.json --no-check=remote tests/integration
docker exec drivers deno test -A --config tsconfig.json --no-check=remote tests/unit
- name: Tests (remote)
run: |
docker compose -f tests/integration/docker_test/docker-compose.yml up remotes -d
deno test -A tests/integration --config tsconfig.json --no-check=remote -- --remoteBrowser
deno test -A tests/integration --config tsconfig.json --no-check=remote -- --remoteBrowser
console-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: vx.x.x
- name: Run Console Tests
run: |
deno test -A tests/console
linter:
# Only one OS is required since fmt is cross platform
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: vx.x.x
- name: Lint
run: deno lint --ignore=examples
- name: Formatter
run: deno fmt --check