forked from massive-oss/haxe-react
-
Notifications
You must be signed in to change notification settings - Fork 5
48 lines (39 loc) · 1.11 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
37
38
39
40
41
42
43
44
45
46
47
48
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: |
git config --global url."https://github.com/".insteadOf "[email protected]:"
haxelib newrepo
haxelib install munit
haxelib install hxnodejs
haxelib git tink_hxx [email protected]:kLabz/tink_hxx.git
haxelib git tink_anon [email protected]: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
- name: "[Samples] TODO App"
run: |
cd samples/todoapp
haxelib newrepo
haxelib dev react-next ../..
haxelib install --skip-dependencies --always install.hxml
haxe build.hxml