ci: update integration test workflow to include setup for OpenVidu Meet and publish test reports

This commit is contained in:
Carlos Santos 2025-04-23 17:36:47 +02:00
parent b283c9d070
commit 9304962b16

View File

@ -111,10 +111,24 @@ jobs:
- name: Install LK CLI
run: |
curl -sSL https://get.livekit.io/cli | bash
- name: Run tests
- name: Setup OpenVidu Meet
run: |
./prepare.sh
cd backend
npm install
npm run start:prod &
- name: Run tests
run: |
cd backend
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