owncast/.github/workflows/browser-testing.yml

37 lines
796 B
YAML
Raw Normal View History

name: Browser Tests
on:
push:
paths:
- 'web/**'
- 'test/automated/browser/**'
pull_request:
paths:
- 'web/**'
- 'test/automated/browser/**'
jobs:
cypress-run:
runs-on: ubuntu-latest
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@v5
with:
concurrent_skipping: 'same_content_newer'
- name: Checkout
uses: actions/checkout@v3
2022-12-11 03:33:50 +01:00
- uses: actions/setup-go@v3
with:
2022-12-06 23:31:08 +01:00
go-version: '1.18.8'
2022-12-11 03:33:50 +01:00
- name: Install Google Chrome
run: sudo apt-get install google-chrome-stable
- name: Run Browser tests
2022-12-11 03:33:50 +01:00
uses: nick-fields/retry@v2
with:
2023-01-16 20:36:40 +01:00
timeout_minutes: 20
2022-12-11 03:33:50 +01:00
max_attempts: 3
command: cd test/automated/browser && ./run.sh