forked from cypress-io/github-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
107 lines (107 loc) · 3.45 KB
/
action.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/metadata-syntax-for-github-actions
name: 'Cypress.io'
description: 'GitHub Action for running Cypress end-to-end and component tests'
author: 'Cypress-io'
inputs:
record:
description: 'Sends test results to Cypress Cloud'
required: false
default: false
auto-cancel-after-failures:
description: 'Overrides the global Cloud configuration to set the failed test threshold for auto cancellation or to disable auto cancellation when recording to the Cloud (requires Cypress 12.x or later)'
required: false
config:
description: 'Set configuration values. Separate multiple values with a comma. The values set here override any values set in your configuration file.'
required: false
config-file:
description: 'Path to the cypress config file where configuration values are set.'
required: false
default: ''
env:
description: 'Sets Cypress environment variables'
required: false
browser:
description: 'Name of the browser to use'
required: false
command:
description: 'Command that overrides cypress run'
required: false
start:
description: 'Command for starting local server in the background'
required: false
start-windows:
description: 'A different start command on Windows'
required: false
build:
description: 'Command to run build step before starting tests'
required: false
install:
description: 'Whether or not to run install'
required: false
install-command:
description: 'Custom install command to use'
required: false
runTests:
description: 'Whether or not to run tests'
required: false
wait-on:
description: 'Local server URL to wait for'
required: false
wait-on-timeout:
description: 'Amount of time to wait for wait-on url to be available'
required: false
parallel:
description: 'Whether or not to load balance tests using multiple containers'
required: false
group:
description: 'Group setting for tests'
required: false
tag:
description: 'Tag setting for tests'
required: false
working-directory:
description: 'Working directory containing Cypress folder'
required: false
headed:
description: 'Whether or not to use headed mode'
required: false
publish-summary:
description: 'Whether or not to publish a job summary'
required: false
default: true
summary-title:
description: 'Title for job summary'
required: false
spec:
description: 'Provide a specific specs to run'
required: false
project:
description: 'Path of project to run'
required: false
command-prefix:
description: 'You can prefix the default test command using the command-prefix option.'
required: false
ci-build-id:
description: 'ID associates multiple CI machines to one test run'
required: false
cache-key:
description: 'Custom cache key'
required: false
quiet:
description: 'Whether or not to silence any Cypress specific output from stdout'
required: false
component:
description: "Lets the action know that Cypress is running component tests and not e2e tests"
required: false
default: false
outputs:
dashboardUrl:
description: 'Cypress Cloud URL if the run was recorded (deprecated)'
resultsUrl:
description: 'Cypress Cloud URL if the run was recorded'
runs:
using: 'node20'
main: 'dist/index.js'
branding:
color: 'green'
icon: 'check-square'