setup forgejo ci

This commit is contained in:
Robin Appelman 2026-07-15 14:27:48 +02:00
commit 07b1776db6
3 changed files with 19 additions and 19 deletions

View file

@ -1,21 +0,0 @@
name: CI
on: [push]
jobs:
build-test:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.4', '8.0', '8.4']
steps:
- uses: actions/checkout@v2
- name: Set up php${{ matrix.php-versons }}
uses: shivammathur/setup-php@master
with:
php-version: ${{ matrix.php-versions }}
- name: Install dependencies
run: composer i
- name: PHPUnit
run: ./vendor/phpunit/phpunit/phpunit -c tests/phpunit.xml