-
Notifications
You must be signed in to change notification settings - Fork 3
53 lines (44 loc) · 1.21 KB
/
run.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: 'Run'
on:
schedule:
- cron: '0 23 * * *'
workflow_dispatch:
inputs:
browser:
description: 'Browser filter'
required: false
default: ''
permissions:
contents: write
concurrency:
group: browserstack
jobs:
build:
name: 'Run'
runs-on: ubuntu-latest
steps:
- name: check out
uses: actions/[email protected]
with:
fetch-depth: 1
- uses: actions/setup-go@v5
with:
go-version: '^1.20'
- name: make
run: make html-tests-from-existing-sources -j 2
- name: test
run: web-tests-browserstack -browser="${{ github.event.inputs.browser }}"
env:
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }}
BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
- name: pages
run: web-tests-pages
- name: save
run: |
# Git config
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
git add ./web-tests.db
git add ./docs
git commit --allow-empty -m "run"
git push --set-upstream origin main