-
Notifications
You must be signed in to change notification settings - Fork 8
56 lines (43 loc) · 1.11 KB
/
qa.yaml
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
51
52
53
54
55
56
name: Quality assurance
on:
pull_request:
push:
branches:
- master
jobs:
tests:
strategy:
matrix:
php: [ '7.4','8.0','8.1','8.2','8.3','8.4' ]
runs-on: ubuntu-24.04
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: mbstring, intl
coverage: xdebug
tools: phing:v3
- uses: actions/checkout@v2
- name: Phing setup
run: phing setup
- name: lint php
run: phing php:lint
- name: validate composer
run: phing composer:validate
- name: behat
run: phing behat:run
# - name: psalm
# run: phing psalm:run
- name: phpstan
run: phing phpstan:analyse
- name: CC before build
run: phing cc:before-build
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
- name: PHPUnit
run: phing phpunit:run
- name: CC after build
run: phing cc:after-build
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}