Skip to content

Commit

Permalink
Merge pull request #88 from binbat/test-whip
Browse files Browse the repository at this point in the history
add actions test wish-tools
  • Loading branch information
a-wing authored Mar 9, 2024
2 parents 50d73f4 + 2c13f4c commit c0f2896
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/wish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: WHIP Endpoint Conformance Tests

on: push

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: cargo build --release --verbose
- name: Checkout tools repo
uses: actions/checkout@v4
with:
repository: wish-wg/resources
path: wish-tools
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: "18"
- name: Run tests
run: |
pushd wish-tools/conformance-tools/whip/server/
wget https://gist.github.com/a-wing/f7b074770b558e114911e339bb6a3e84/raw/9529d71fb8abe16fe4900a0232c77b2621c8d318/multirun.sh
chmod +x multirun.sh
npm install
export WHIP_ENDPOINT=http://localhost:7777/whip/777
./multirun.sh '../../../../target/release/live777' 'npm run test' 'sleep 10'

0 comments on commit c0f2896

Please sign in to comment.