-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (39 loc) · 1021 Bytes
/
cy-automation-tests.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
name: Run Automation Tests
on:
schedule:
- cron: "0 8 * * *"
pull_request:
workflow_dispatch:
inputs:
environment:
type: choice
description: "Environment: localhost / marcinkapturski.com"
required: true
options:
- localhost
- marcinkapturski.com
default: "marcinkapturski.com"
jobs:
list-specs:
name: Files
uses: "./.github/workflows/cy-list-of-specs.yml"
build-packages:
name: Build
uses: "./.github/workflows/cy-build-packages.yml"
run-specs:
name: Run
needs: [list-specs, build-packages]
if: always()
uses: "./.github/workflows/cy-run-specs.yml"
with:
specs: ${{ needs.list-specs.outputs.specs }}
report:
name: Report
needs: run-specs
if: always()
uses: "./.github/workflows/cy-slack-reporting.yml"
secrets:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
with:
tests-result: ${{ needs.run-specs.result }}
environment: ${{ inputs.environment }}