-
Notifications
You must be signed in to change notification settings - Fork 97
73 lines (71 loc) · 1.9 KB
/
ui-tests-manual.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name: ui-tests-manual
on:
workflow_dispatch:
inputs:
os:
type: string
default: "ubuntu-latest"
description: The OS to run the tests on
required: true
browser:
type: choice
options:
- chrome
- firefox
default: "chrome"
description: The browser to run the tests in
required: true
environment:
type: choice
options:
- Development
- Production
default: "Development"
description: The AspNetCore environment
required: true
build-configuration:
type: choice
options:
- Debug
- Release
default: "Debug"
description: The MSBuild configuration
required: true
samples-config:
type: choice
options:
- Default
- KnockoutDeferUpdates
- ExplicitAssemblyLoading
- ServerSideViewModelCache
- LazyCsrfToken
- ExperimentalFeaturesTests
default: "Default"
description: The samples config to use
required: true
timeout:
type: number
default: 50
description: The timeout in minutes
required: true
jobs:
ui-tests:
name: UI tests
runs-on: ${{ inputs.os }}
timeout-minutes: ${{ inputs.timeout }}
env:
SLN: "${{ inputs.os == 'windows-2022' && 'src/DotVVM.sln' || 'src/DotVVM.Crossplatform.slnf' }}"
steps:
- uses: actions/checkout@v3
- name: Set up
uses: ./.github/setup
with:
sln: ${{ env.SLN }}
- name: Run UI tests
uses: ./.github/uitest
with:
browser: ${{ inputs.browser }}
github-token: ${{ secrets.GITHUB_TOKEN }}
build-configuration: "${{ inputs.build-configuration }}"
runtime-environment: "${{ inputs.environment }}"
samples-config: "${{ inputs.samples-config }}"