-
-
Notifications
You must be signed in to change notification settings - Fork 17
53 lines (45 loc) · 1.43 KB
/
tests.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
php-tests:
runs-on: ubuntu-18.04
strategy:
matrix:
include:
- php: '7.2'
- php: '7.3'
- php: '7.4'
- php: '8.0'
- php: '8.1'
- php: '8.2'
- php: '8.3'
name: PHP ${{ matrix.php }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, intl, iconv
coverage: none
- name: Cache Composer dependencies
uses: actions/cache@v2
with:
path: /tmp/composer-cache
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
- name: Install Composer dependencies
uses: php-actions/composer@v5
with:
php_version: ${{ matrix.php }}
args: --prefer-source
- name: Run tests
run: |
bin/phpunit
src/EPV.php run --debug --github="phpbb/phpbb-ext-acme-demo"