forked from massive-oss/haxe-react
-
Notifications
You must be signed in to change notification settings - Fork 5
40 lines (31 loc) · 838 Bytes
/
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
37
38
39
name: Tests
on: [push, repository_dispatch]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
haxe: [4.3.2, latest]
steps:
- uses: actions/checkout@v1
- name: Setup haxe ${{ matrix.haxe }}
uses: krdlab/setup-haxe@v1
with:
haxe-version: ${{ matrix.haxe }}
- name: Install libs
run: |
haxelib newrepo
haxelib install munit
haxelib install hxnodejs
haxelib git tink_hxx https://github.com/kLabz/tink_hxx.git
haxelib git tink_anon https://github.com/haxetink/tink_anon.git
- name: Run tests
run: |
haxelib run munit test -js
- name: "[Samples] SSR sample : react-next docs website"
run: |
cd samples/docs
make setup
make server
make static