Add Gitea Actions workflow to run PHPUnit on pull requests #1

Merged
aneurin merged 2 commits from add-ci-workflow into main 2026-09-05 09:33:43 +00:00
Showing only changes of commit 6faf4a72df - Show all commits
+21
View File
@@ -0,0 +1,21 @@
name: CI
on:
pull_request:
branches: [main]
jobs:
php-tests:
runs-on: ubuntu-latest
container: php:8.3-cli-alpine
steps:
- uses: actions/checkout@v4
- name: Install Composer
run: curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
- name: Install dependencies
run: composer install --no-progress --prefer-dist
- name: Run tests
run: vendor/bin/phpunit