mirror of
https://github.com/meshtastic/web.git
synced 2026-07-30 22:46:30 -04:00
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 6 to 7. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
65 lines
1.6 KiB
YAML
65 lines
1.6 KiB
YAML
# Real-device end-to-end suite: drives the web app in Chromium against two
|
|
# simulated `meshtasticd` firmware nodes (UDP-multicast mesh, no MQTT) and
|
|
# exercises text messaging in both directions. See e2e/README.md.
|
|
name: E2E (real device)
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
paths:
|
|
- "e2e/**"
|
|
- "apps/web/**"
|
|
- "packages/**"
|
|
- "playwright.config.ts"
|
|
- ".github/workflows/e2e.yml"
|
|
|
|
jobs:
|
|
e2e:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 30
|
|
env:
|
|
CI: "true"
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
|
|
- uses: pnpm/action-setup@v6
|
|
|
|
- uses: actions/setup-node@v7
|
|
with:
|
|
node-version: 24
|
|
cache: pnpm
|
|
|
|
- name: Install workspace deps
|
|
run: pnpm install --frozen-lockfile
|
|
|
|
- name: Install Chromium
|
|
run: pnpm exec playwright install --with-deps chromium
|
|
|
|
- uses: actions/setup-python@v7
|
|
with:
|
|
python-version: "3.11"
|
|
|
|
- name: Install Python mesh peer
|
|
run: |
|
|
python -m venv e2e/peer/.venv
|
|
e2e/peer/.venv/bin/pip install -r e2e/peer/requirements.txt
|
|
|
|
- name: Run E2E suite
|
|
run: pnpm test:e2e
|
|
|
|
- name: Upload Playwright report
|
|
if: ${{ !cancelled() }}
|
|
uses: actions/upload-artifact@v7
|
|
with:
|
|
name: playwright-report
|
|
path: e2e/.report
|
|
retention-days: 7
|
|
|
|
- name: Dump device logs on failure
|
|
if: failure()
|
|
run: docker compose -f e2e/device/docker-compose.yml logs --no-color || true
|
|
|
|
- name: Tear down mesh
|
|
if: always()
|
|
run: docker compose -f e2e/device/docker-compose.yml down -v || true
|