Skip to content

Use playable

Use playable #18

Workflow file for this run

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