aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-10-18 23:33:51 +0900
committernsfisis <nsfisis@gmail.com>2025-10-18 23:33:51 +0900
commit17bb2c1d31deb6799891f79ca317f3f09728bc3e (patch)
treeb7bbff2ba27722bb4fdd3b7d4400dfb895dd862a
parentb123a2c3a502e98b8c67a446dfffdb8f298d59bf (diff)
downloadphp-next-after-17bb2c1d31deb6799891f79ca317f3f09728bc3e.tar.gz
php-next-after-17bb2c1d31deb6799891f79ca317f3f09728bc3e.tar.zst
php-next-after-17bb2c1d31deb6799891f79ca317f3f09728bc3e.zip
ci: add GitHub Actions for linting/testing
-rw-r--r--.github/workflows/test.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
new file mode 100644
index 0000000..dc77653
--- /dev/null
+++ b/.github/workflows/test.yaml
@@ -0,0 +1,23 @@
+name: Test
+
+on:
+ push:
+ branches:
+ - main
+
+jobs:
+ test:
+ name: Test
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: php-actions/composer@v6
+
+ - name: Run ECS
+ run: composer ecs
+
+ - name: Run PHPStan
+ run: composer phpstan
+
+ - name: Run PHPUnit
+ run: composer phpunit