aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-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