-
Notifications
You must be signed in to change notification settings - Fork 2
45 lines (40 loc) · 1 KB
/
test.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
name: tests
on: [ push, pull_request ]
jobs:
phpstan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: php-actions/composer@v6
with:
php_version: 8.2
php_extensions: intl
- uses: php-actions/phpstan@v3
with:
configuration: ./Build/Testing/phpstan.neon
path: .
phpcs:
name: phpcs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Composer install
uses: php-actions/composer@v6
with:
php_version: 8.2
php_extensions: intl
- name: PHP Code Sniffer
uses: php-actions/phpcs@v1
with:
php_version: 8.2
ignore: /vendor/
path: .
standard: PSR2
extensions: php
warning_severity: 6
editorconfig:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: editorconfig-checker/action-editorconfig-checker@main
- run: editorconfig-checker