We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 040d2c6 commit df5baadCopy full SHA for df5baad
.github/workflows/ci.yml
@@ -0,0 +1,32 @@
1
+name: ✅ PHP CI (PHPStan + PHPUnit)
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+jobs:
10
+ tests:
11
+ name: Run Static Analysis and Tests
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - name: Checkout Code
16
+ uses: actions/checkout@v4
17
18
+ - name: Setup PHP
19
+ uses: shivammathur/setup-php@v2
20
+ with:
21
+ php-version: 8.3
22
+ extensions: mbstring, xml, pdo, curl
23
+ tools: phpstan, phpunit
24
25
+ - name: Install Dependencies
26
+ run: composer install --no-progress --prefer-dist
27
28
+ - name: Run PHPStan
29
+ run: phpstan analyse --no-progress --memory-limit=512M
30
31
+ - name: Run PHPUnit
32
+ run: vendor/bin/phpunit --testdox
0 commit comments