forked from EC-CUBE/ec-cube2
-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (49 loc) · 1.17 KB
/
main.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
name: CI/CD for EC-CUBE
on:
push:
branches:
- '*'
tags:
- '*'
paths:
- '**'
- '!*.md'
pull_request:
paths:
- '**'
- '!*.md'
jobs:
dockerbuild:
with:
event_name: ${{ github.event_name }}
uses: ./.github/workflows/dockerbuild.yml
phpstan:
with:
ref_name: ${{ github.ref_name }}
base_ref: ${{ github.base_ref }}
event_name: ${{ github.event_name }}
owner: ${{ github.repository_owner }}
needs: [ dockerbuild ]
uses: ./.github/workflows/phpstan.yml
unit-tests:
with:
ref_name: ${{ github.ref_name }}
base_ref: ${{ github.base_ref }}
event_name: ${{ github.event_name }}
owner: ${{ github.repository_owner }}
needs: [ dockerbuild ]
uses: ./.github/workflows/unit-tests.yml
e2e-tests:
with:
ref_name: ${{ github.ref_name }}
base_ref: ${{ github.base_ref }}
event_name: ${{ github.event_name }}
owner: ${{ github.repository_owner }}
needs: [ dockerbuild ]
uses: ./.github/workflows/e2e-tests.yml
success:
needs:
- phpstan
- unit-tests
- e2e-tests
uses: ./.github/workflows/success.yml