Skip to content

Commit 28d7b2b

Browse files
authored
Merge pull request #475 from jneira/test-suite
Setup the test suite
2 parents 67c467e + 207d95f commit 28d7b2b

File tree

9 files changed

+1181
-8
lines changed

9 files changed

+1181
-8
lines changed

.github/workflows/test.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
on:
2+
push:
3+
branches:
4+
- master
5+
pull_request:
6+
branches:
7+
- '**'
8+
9+
jobs:
10+
build:
11+
strategy:
12+
matrix:
13+
os: [macos-latest, ubuntu-latest, windows-latest]
14+
runs-on: ${{ matrix.os }}
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v2
18+
- name: Install Node.js
19+
uses: actions/setup-node@v1
20+
with:
21+
node-version: 10.x
22+
- run: npm ci
23+
- run: npm run compile
24+
- run: xvfb-run -a npm test
25+
if: runner.os == 'Linux'
26+
- run: npm test
27+
if: runner.os != 'Linux'

.vscode/settings.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@
1313
"editor.formatOnSave": true,
1414
"files.associations": {
1515
".prettierrc": "yaml"
16-
}
16+
},
17+
"files.eol": "\n"
1718
}

0 commit comments

Comments
 (0)