2022-11-05 04:04:13 +01:00
|
|
|
name: Browser Tests
|
|
|
|
|
2022-11-24 00:04:20 +01:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths:
|
|
|
|
- web/**
|
|
|
|
pull_request_target:
|
|
|
|
paths:
|
|
|
|
- web/**
|
2022-11-05 04:04:13 +01:00
|
|
|
jobs:
|
|
|
|
cypress-run:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-11-24 00:04:20 +01:00
|
|
|
- id: skip_check
|
|
|
|
uses: fkirc/skip-duplicate-actions@v5
|
|
|
|
with:
|
|
|
|
concurrent_skipping: 'same_content_newer'
|
2023-01-05 07:15:10 +01:00
|
|
|
|
2022-11-05 04:04:13 +01:00
|
|
|
- name: Checkout
|
2022-11-30 02:20:12 +01:00
|
|
|
uses: actions/checkout@v3
|
2022-12-11 03:33:50 +01:00
|
|
|
|
2022-11-05 04:04:13 +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
|
|
|
|
2023-01-05 07:15:10 +01:00
|
|
|
- name: Install Google Chrome
|
|
|
|
run: sudo apt-get install google-chrome-stable
|
|
|
|
|
2022-11-05 04:04:13 +01:00
|
|
|
- name: Run Browser tests
|
2022-12-11 03:33:50 +01:00
|
|
|
uses: nick-fields/retry@v2
|
|
|
|
with:
|
|
|
|
timeout_minutes: 10
|
|
|
|
max_attempts: 3
|
|
|
|
command: cd test/automated/browser && ./run.sh
|