-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (45 loc) · 1.22 KB
/
run-tests-on-branch.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
name: end-to-end tests on branch
on:
workflow_dispatch:
inputs:
external_ref_id:
description: 'Identifier to use for unique run detection'
required: true
type: string
client_branch:
description: 'Client branch'
required: true
default: 'master'
type: string
jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
matrix:
browser: [ firefox ]
env:
CLIENT_BRANCH: ${{ github.event.inputs.client_branch }}
HOST: http://127.0.0.1:5002
ORCID_PASSWORD: ${{ secrets.ORCID_PASSWORD }}
ORCID_USER: ${{ secrets.ORCID_USER }}
steps:
- name: ${{ github.event.inputs.external_ref_id }}
run: echo
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
- uses: actions/setup-python@v5
with:
python-version: 3
- run: make start_client
- uses: DevExpress/[email protected]
with:
args: >-
${{ matrix.browser }}
*/index.js
--hostname localhost
--retry-test-pages
--skip-js-errors
--selector-timeout 60000
- run: make -C periodo-client stop