forked from garris/BackstopJS
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (37 loc) · 1.28 KB
/
_backstop-docker-ci.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
name: 🙈 Backstop & Docker CI
run-name: "CI running on ${{ github.event_name == 'pull_request' && format('PR #{0}: {1}', github.event.pull_request.number, github.event.pull_request.title) || format('latest {0}', github.ref_name) }}"
# Tests backstopjs alone, docker build, docker push to
# ghcr.io, docker pull from ghcr.io, and backstopjs in
# the docker docker build.
on:
workflow_dispatch:
pull_request:
branches: [master, develop]
permissions:
checks: write
contents: write
pull-requests: write
packages: write
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
jobs:
backstop-sanity-test:
name: Sanity Test Backstop
uses: ./.github/workflows/backstop-sanity-test.yml
backstop-smoke-test:
name: Smoke Test Backstop
uses: ./.github/workflows/backstop-smoke-test.yml
backstop-integration-test:
name: Integration Test Backstop
uses: ./.github/workflows/backstop-integration-test.yml
build-publish-docker:
name: Build Docker
uses: ./.github/workflows/docker-build.yml
docker-sanity-test:
needs: build-publish-docker
name: Sanity Test Docker
uses: ./.github/workflows/docker-sanity-test.yml
docker-smoke-test:
needs: build-publish-docker
name: Smoke Test Docker
uses: ./.github/workflows/docker-smoke-test.yml