mirror of
https://codeberg.org/icewind/SearchDAV.git
synced 2026-08-02 12:14:54 +02:00
setup forgejo ci
This commit is contained in:
parent
34cf715ecd
commit
07b1776db6
3 changed files with 19 additions and 19 deletions
21
.forgejo/workflows/ci.yml
Normal file
21
.forgejo/workflows/ci.yml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
name: CI
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build-test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
php-versions: ['8.0', '8.4']
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up php${{ matrix.php-versions }}
|
||||
uses: https://github.com/shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: ${{ matrix.php-versions }}
|
||||
- name: Install dependencies
|
||||
run: composer i
|
||||
- name: PHPUnit
|
||||
run: ./vendor/phpunit/phpunit/phpunit -c tests/phpunit.xml
|
||||
Loading…
Add table
Add a link
Reference in a new issue