Run #2434
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |