mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-25 19:40:24 +00:00
23 lines
663 B
YAML
23 lines
663 B
YAML
name: Playwright Tests
|
|
on:
|
|
deployment_status:
|
|
jobs:
|
|
test:
|
|
timeout-minutes: 60
|
|
runs-on: ubuntu-latest
|
|
if: github.event.deployment_status.state == 'success'
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v2
|
|
with:
|
|
node-version: "14.x"
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
- name: Install Playwright
|
|
run: npx playwright install --with-deps
|
|
- name: Run Playwright tests
|
|
run: npm run test:e2e
|
|
env:
|
|
# This might depend on your test-runner/language binding
|
|
PLAYWRIGHT_TEST_BASE_URL: ${{ github.event.deployment_status.target_url }}
|