-
Notifications
You must be signed in to change notification settings - Fork 12
37 lines (30 loc) · 832 Bytes
/
phpunit.yml
File metadata and controls
37 lines (30 loc) · 832 Bytes
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
36
37
# SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: PHPUnit
on:
pull_request:
push:
branches:
- master
jobs:
php:
runs-on: ubuntu-latest
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.1']
name: php${{ matrix.php-versions }}
steps:
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, iconv, fileinfo, intl
coverage: none
- name: Checkout server
uses: actions/checkout@v2
- name: Run unit tests
run: |
composer install
sh -c "cd tests/unit/ && ../../vendor/bin/phpunit ."