add actions test wish-tools 2 #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | | |
./target/release/live777 & | |
pushd wish-tools/conformance-tools/whip/server/ | |
npm install | |
WHIP_ENDPOINT=http://localhost:7777/whip/777 npm run test | |