-
Notifications
You must be signed in to change notification settings - Fork 6
37 lines (31 loc) · 1001 Bytes
/
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
name: Akeneo Coupling Detector CI
on: [push]
jobs:
build_and_test:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.3', '7.4', '8.0', '8.1']
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Setup PHP with no coverage driver
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- name: Check PHP version
run: php -v
- name: Vendor
run: composer install
- name: Specs
run: ./vendor/bin/phpspec run
- name: Static tests
run: ./vendor/bin/phpstan analyse src -l 5
tests_with_docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the stack
run: make vendor
- name: Test
run: make test