-
Notifications
You must be signed in to change notification settings - Fork 2
40 lines (31 loc) · 1.11 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
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;'
php -i
- name: Install Composer
run: composer install --optimize-autoloader --classmap-authoritative --no-interaction
- name: Lint
run: composer run-script lint
- name: Test Suite
run: composer run-script test
env:
PHP_CS_FIXER_IGNORE_ENV: 1