Skip to content
This repository was archived by the owner on Nov 5, 2024. It is now read-only.

Commit 75cfc50

Browse files
committed
added test action
1 parent 5823006 commit 75cfc50

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/test.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: test
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
test:
14+
name: run tests
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: checkout
19+
uses: actions/checkout@v2
20+
with:
21+
submodules: true
22+
23+
- name: install rust
24+
uses: actions-rs/toolchain@v1
25+
with:
26+
profile: minimal
27+
toolchain: stable
28+
override: true
29+
30+
- name: install node-gyp
31+
run: npm install -g node-gyp
32+
33+
- name: npm install
34+
run: npm install
35+
36+
- name: Run tests
37+
run: make test-all

0 commit comments

Comments
 (0)