ci: update integration test workflow to include setup for OpenVidu Meet and publish test reports
This commit is contained in:
parent
b283c9d070
commit
9304962b16
16
.github/workflows/integration-test.yaml
vendored
16
.github/workflows/integration-test.yaml
vendored
@ -111,10 +111,24 @@ jobs:
|
|||||||
- name: Install LK CLI
|
- name: Install LK CLI
|
||||||
run: |
|
run: |
|
||||||
curl -sSL https://get.livekit.io/cli | bash
|
curl -sSL https://get.livekit.io/cli | bash
|
||||||
- name: Run tests
|
- name: Setup OpenVidu Meet
|
||||||
run: |
|
run: |
|
||||||
./prepare.sh
|
./prepare.sh
|
||||||
cd backend
|
cd backend
|
||||||
npm install
|
npm install
|
||||||
|
npm run start:prod &
|
||||||
|
- name: Run tests
|
||||||
|
run: |
|
||||||
|
cd backend
|
||||||
npm run test:integration-recordings
|
npm run test:integration-recordings
|
||||||
|
env:
|
||||||
|
JEST_JUNIT_OUTPUT_DIR: './reports/'
|
||||||
|
- name: Publish Test Report
|
||||||
|
uses: mikepenz/action-junit-report@v4
|
||||||
|
if: always()
|
||||||
|
with:
|
||||||
|
report_paths: '**/reports/junit.xml'
|
||||||
|
fail_on_failure: true
|
||||||
|
require_tests: true
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user