Add .gitea/workflows/php-test.yml
Some checks failed
CI Demo / build (push) Successful in 3s
Docker Test / docker-ops (push) Successful in 5s
Java Test / java-hello (push) Has been cancelled
Kotlin Test / kotlin-hello (push) Has been cancelled
Node.js Test / nodejs-test (push) Has been cancelled
PHP Test / php-test (push) Has been cancelled
Python Test / python-hello (push) Has been cancelled
Swift Test / swift-hello (push) Has been cancelled
Go Test / go-test (push) Has been cancelled

This commit is contained in:
2025-08-07 18:55:45 +00:00
parent 65c858f99c
commit 065c55b64b

View File

@@ -0,0 +1,21 @@
name: PHP Test
on: [push]
jobs:
php-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up PHP
uses: shivammathur/setup-php@2
with:
php-version: '8.2'
extensions: mbstring, intl, pcntl
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: Run tests
run: vendor/bin/phpunit --configuration phpunit.xml