-
Notifications
You must be signed in to change notification settings - Fork 14
35 lines (27 loc) · 765 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: CI Tests
on:
push:
pull_request:
jobs:
test:
strategy:
matrix:
# https://www.php.net/supported-versions.php
php-version: ['8.3']
name: Level0 tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up PHP ${{ matrix.php-version }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: none
- name: Install dependencies
run: composer install --no-progress --no-suggest --no-interaction
- name: Run tests
run: |
composer validate
cp www/config.php.sample www/config.php
./vendor/bin/phpunit --display-warnings test/