-
-
Notifications
You must be signed in to change notification settings - Fork 194
31 lines (24 loc) 路 588 Bytes
/
Copy pathci.yml
File metadata and controls
31 lines (24 loc) 路 588 Bytes
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
name: CI
permissions:
contents: read
on: [push]
jobs:
php:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['8.1', '8.2', '8.3', '8.4', '8.5']
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- uses: actions/checkout@v6
- name: Install dependencies
run: composer install --no-interaction --no-progress
- name: Run tests
run: php vendor/bin/phpunit
- name: Run phpstan
run: php vendor/bin/phpstan
- name: Run psalm
run: php vendor/bin/psalm