mirror of
https://github.com/element-hq/element-call.git
synced 2026-04-05 05:25:50 +00:00
Some checks failed
Build / build_embedded_element_call (push) Failing after 3m52s
Build / build_full_element_call (push) Failing after 4m53s
Build / build_sdk_element_call (push) Failing after 3m49s
Build & publish embedded packages for releases / Versioning (push) Successful in 1m14s
Test / Run unit tests (push) Failing after 4m14s
Test / Run end-to-end tests (push) Failing after 7m21s
Build / deploy_develop (push) Has been skipped
Build / docker_for_develop (push) Has been skipped
Build & publish embedded packages for releases / build_element_call (push) Failing after 3m39s
Build & publish embedded packages for releases / Publish tarball (push) Failing after 1m41s
Build & publish embedded packages for releases / Publish NPM (push) Failing after 1m27s
Build & publish embedded packages for releases / Publish SwiftPM Library (push) Failing after 1m14s
Build & publish embedded packages for releases / Publish Android AAR (push) Failing after 2m5s
Build & publish embedded packages for releases / Update release notes (push) Successful in 1m7s
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
62 lines
2.1 KiB
YAML
62 lines
2.1 KiB
YAML
name: Test
|
|
on:
|
|
pull_request: {}
|
|
push:
|
|
branches: [livekit, full-mesh]
|
|
jobs:
|
|
vitest:
|
|
name: Run unit tests
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
|
- name: Enable Corepack
|
|
run: corepack enable
|
|
- name: Yarn cache
|
|
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
|
|
with:
|
|
cache: "yarn"
|
|
node-version-file: ".node-version"
|
|
- name: Install dependencies
|
|
run: "yarn install --immutable"
|
|
- name: Vitest
|
|
run: "yarn run test:coverage"
|
|
- name: Upload to codecov
|
|
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5
|
|
env:
|
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
|
with:
|
|
flags: unittests
|
|
fail_ci_if_error: true
|
|
playwright:
|
|
name: Run end-to-end tests
|
|
timeout-minutes: 60
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
|
- name: Enable Corepack
|
|
run: corepack enable
|
|
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
|
|
with:
|
|
cache: "yarn"
|
|
node-version-file: ".node-version"
|
|
- name: Install dependencies
|
|
run: yarn install --immutable
|
|
- name: Install Playwright Browsers
|
|
run: yarn playwright install --with-deps
|
|
- name: Run backend components
|
|
run: |
|
|
docker compose -f playwright-backend-docker-compose.yml -f playwright-backend-docker-compose.override.yml pull
|
|
docker compose -f playwright-backend-docker-compose.yml -f playwright-backend-docker-compose.override.yml up -d
|
|
docker ps
|
|
- name: Run Playwright tests
|
|
env:
|
|
USE_DOCKER: 1
|
|
run: yarn playwright test
|
|
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
|
if: ${{ !cancelled() }}
|
|
with:
|
|
name: playwright-report
|
|
path: playwright-report/
|
|
retention-days: 3
|