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
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:
21
.gitea/workflows/php-test.yml
Normal file
21
.gitea/workflows/php-test.yml
Normal 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
|
Reference in New Issue
Block a user