This repository has been archived by the owner on Mar 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding a signalling test action to master so it can be run in the sig…
…nalling_tester branch
- Loading branch information
1 parent
28e7c0c
commit cb58c2c
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Run signalling tests | ||
|
||
on: | ||
push: | ||
branches: ['signalling_tester'] | ||
paths: ['SignallingWebServer/**'] | ||
pull_request: | ||
branches: ['signalling_tester'] | ||
paths: ['SS_Test/**'] | ||
|
||
jobs: | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./ | ||
|
||
permissions: | ||
contents: write | ||
|
||
steps: | ||
- name: "Checkout source code" | ||
uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18.x' | ||
registry-url: 'https://registry.npmjs.org' | ||
|
||
- name: Run signalling server | ||
working-directory: ./SignallingWebServer | ||
run: ./platform_scripts/bash/run_local.sh & | ||
|
||
- name: Install library deps | ||
working-directory: ./SS_Test | ||
run: npm ci | ||
|
||
- name: Run frontend lib tests | ||
working-directory: ./SS_Test | ||
run: npm run start |