-
Notifications
You must be signed in to change notification settings - Fork 0
61 lines (46 loc) · 2.41 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: CI
on: [ push ]
jobs:
build-test:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['8.3']
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
coverage: "none"
ini-values: "memory_limit=-1"
php-version: "${{ matrix.php }}"
tools: "composer"
- name: Display versions
run: |
php --version
php -r 'foreach (get_loaded_extensions() as $extension) echo $extension . " " . phpversion($extension) . PHP_EOL;'
- name: Install Composer
run: composer install --optimize-autoloader --classmap-authoritative --no-interaction
- name: Run Linters
run: composer run-script lint
- name: Run Tests
run: composer run-script test
- name: "Install Composer: Library / Composer Normalize"
run: composer install --optimize-autoloader --classmap-authoritative --no-interaction
working-directory: _init/library/vendor-bin/c-norm
- name: "Install Composer: Library / PHP CS Fixer"
run: composer install --optimize-autoloader --classmap-authoritative --no-interaction
working-directory: _init/library/vendor-bin/cs-fixer
- name: "Install Composer: Library / PHPStan"
run: composer install --optimize-autoloader --classmap-authoritative --no-interaction
working-directory: _init/library/vendor-bin/phpstan
- name: "Install Composer: Symfony / Composer Normalize"
run: composer install --optimize-autoloader --classmap-authoritative --no-interaction
working-directory: _init/symfony/vendor-bin/c-norm
- name: "Install Composer: Symfony / PHP CS Fixer"
run: composer install --optimize-autoloader --classmap-authoritative --no-interaction
working-directory: _init/symfony/vendor-bin/cs-fixer
- name: "Install Composer: Symfony / PHPStan"
run: composer install --optimize-autoloader --classmap-authoritative --no-interaction
working-directory: _init/symfony/vendor-bin/phpstan