This commit is contained in:
27
.gitea/workflows/phpunit.yaml
Normal file
27
.gitea/workflows/phpunit.yaml
Normal file
@ -0,0 +1,27 @@
|
||||
|
||||
name: phpunit
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
phpunit:
|
||||
name: PHPUnit
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: "latest"
|
||||
tools: phpunit-bridge
|
||||
extensions: mbstring, xml, ctype, iconv, intl, pdo_sqlite
|
||||
coverage: xdebug
|
||||
- name: Install composer dependencies
|
||||
uses: ./.gitea/actions/composer-install
|
||||
- name: Run PHPUnit
|
||||
shell: bash
|
||||
run: vendor/bin/phpunit --no-progress --testdox --display-warnings
|
Reference in New Issue
Block a user