-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
42 lines (42 loc) · 1.4 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
name: 'Cypress Action'
description: 'Runs Cypress tests and uploads test data into the bucket and notifies via Slack.'
inputs:
github-token:
description: 'secrets.GITHUB_TOKEN'
required: true
gcloud-auth:
description: 'Google Cloud service account base64 encoded JSON key with Storage Object permissions.'
required: true
bucket-name:
description: 'Google Cloud bucket name.'
required: true
slack-token:
description: 'Slack Bot User OAuth Access Token "xoxb-...".'
required: true
slack-channel:
description: 'Slack channel for posting test status.'
required: true
slack-mention:
description: 'If specified will add slack mention to this group/person.'
required: false
env:
description: 'Sets Cypress environment variables.'
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
spec:
description: 'Run specific tests in the path.'
required: false
browser:
description: 'Run tests on a specific browser.'
required: false
working-directory:
description: 'Working directory containing Cypress folder.'
required: false
sorry-cypress:
description: 'Use sorry cypress? if true provide \n env: \n CYPRESS_API_URL: <url>'
required: false
runs:
using: 'node16'
main: 'dist/index.js'