-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (39 loc) · 900 Bytes
/
test.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
name: Test
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 3
matrix:
os:
- ubuntu-latest
php:
- 7.3
- 7.4
- 8.0
- 8.1
- 8.2
name: Test - php:${{ matrix.php }}; ${{ matrix.os }};
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install PHP
uses: shivammathur/setup-php@2.23.0
with:
php-version: ${{ matrix.php }}
extensions: curl, gd, pdo_mysql, json, mbstring, pcre, session
coverage: none
tools: composer:v2
- name: Composer install
shell: bash
run: composer install --prefer-source --no-interaction
- name: Kahlan tests
shell: bash
run: ./vendor/bin/kahlan