Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
adding a signalling test action to master so it can be run in the sig…
Browse files Browse the repository at this point in the history
…nalling_tester branch
  • Loading branch information
mcottontensor committed Jan 22, 2024
1 parent 28e7c0c commit cb58c2c
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/run-signalling-tests.yml
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

0 comments on commit cb58c2c

Please sign in to comment.