-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (37 loc) · 1 KB
/
test.yaml
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
name: Test
on: push
jobs:
test-php7_2:
runs-on: ubuntu-latest
strategy:
matrix:
prefer: ["prefer-stable", "prefer-lowest"]
steps:
- name: checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.2'
tools: composer:v2
- name: Composer Install
run: composer update --${{ matrix.prefer }} --no-interaction --no-progress --no-ansi
- name: Run tests
run: make check
test-php8:
runs-on: ubuntu-latest
strategy:
matrix:
prefer: [ "prefer-stable", "prefer-lowest" ]
steps:
- name: checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
tools: composer:v2
- name: Composer Install
run: composer update --${{ matrix.prefer }} --no-interaction --no-progress --no-ansi
- name: Run tests
run: make check