Skip to content

Commit 48bc0fa

Browse files
committed
add github pipeline
1 parent 25c72d6 commit 48bc0fa

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: ci
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [ master ]
7+
8+
jobs:
9+
ci:
10+
11+
strategy:
12+
matrix:
13+
php-version:
14+
- "8.1"
15+
- "8.2"
16+
- "8.3"
17+
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
- uses: actions/checkout@v2
22+
23+
- name: "Installing PHP"
24+
uses: "shivammathur/setup-php@v2"
25+
with:
26+
php-version: "${{ matrix.php-version }}"
27+
ini-values: memory_limit=-1
28+
29+
- name: "Install composer dependencies"
30+
uses: "ramsey/composer-install@v2"
31+
32+
- name: Run test suite
33+
run: PHP_CS_FIXER_IGNORE_ENV=1 composer build

0 commit comments

Comments
 (0)