forked from cypress-io/github-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
91 lines (91 loc) · 2.77 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
# 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 tests'
author: 'Gleb Bahmutov'
inputs:
record:
description: 'Sends test results to Cypress Dashboard'
required: false
default: 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 a JSON file where configuration values are set.'
required: false
default: cypress.json
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 in 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
headless:
description: 'Whether or not to use headless mode'
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
outputs:
dashboardUrl:
description: 'Cypress Dashboard URL if the run was recorded'
runs:
using: 'node12'
main: 'dist/index.js'
branding:
color: 'green'
icon: 'check-square'