forked from soundio/soundstage
-
Notifications
You must be signed in to change notification settings - Fork 0
executable file
·60 lines (50 loc) · 1.28 KB
/
tests.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
name: tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: macos-latest
steps:
- name: Set up OS
run: |
sudo safaridriver --enable
- name: Clone fn
uses: actions/checkout@v3
with:
repository: stephband/fn
path: fn/
- name: Clone dom
uses: actions/checkout@v3
with:
repository: stephband/dom
path: dom/
- name: Clone midi
uses: actions/checkout@v3
with:
repository: stephband/midi
path: midi/
- name: Clone soundstage
uses: actions/checkout@v3
with:
path: soundstage/
- name: Install Selenium and launch server
run: |
cd soundstage/
npm install selenium-webdriver
cd ../
python -m SimpleHTTPServer 8000 &
- name: Test Chrome
run: |
cd soundstage/
node .github/workflows/tests.js chrome http://127.0.0.1:8000/soundstage/test.html
- name: Test FireFox
run: |
cd soundstage/
node .github/workflows/tests.js firefox http://127.0.0.1:8000/soundstage/test.html
- name: Test Safari
run: |
cd soundstage/
node .github/workflows/tests.js safari http://127.0.0.1:8000/soundstage/test.html