-
Notifications
You must be signed in to change notification settings - Fork 2
38 lines (31 loc) · 1.28 KB
/
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
name: CI
on:
pull_request:
push:
branches:
- "master"
jobs:
build_test:
runs-on: ubuntu-latest
name: Build and test on ${{ matrix.image }}
container: ${{ matrix.image }}
strategy:
matrix:
image:
- registry.gitlab.com/pia-production/hosting/docker-php:8.2
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Check PHP Version
run: php -v
# —— Composer 🧙️ —————————————————————————————————————————————————————————
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install
run: make install
# —— Tests 🧪 ————————————————————————————————————————————————————————————
- name: Phpunit tests
run: make coverage
# —— QA ✔️️ ———————————————————————————————————————————————————————————————
- name: Qualimetry
run: make qa