-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (35 loc) · 963 Bytes
/
validate.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
name: Simple Validation
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Validate Project 1
run: composer validate --strict
working-directory: project1
- name: Validate Project 2
run: composer validate --strict
working-directory: project2
- name: Validate Project 3
run: composer validate --strict
working-directory: project3
- name: Validate Project 4
run: composer validate --strict
working-directory: project4
- name: Install Project 4
run: composer install
working-directory: project4
- name: Test Project 4
run: ./vendor/bin/phpunit --verbose tests
working-directory: project4
- name: Reset Checkout
run: git reset --hard
- name: Build Docker Compose
run: docker compose build