-
-
Notifications
You must be signed in to change notification settings - Fork 1
55 lines (47 loc) · 1.39 KB
/
integration.yml
File metadata and controls
55 lines (47 loc) · 1.39 KB
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
54
name: "Continuous Integration"
on: [push, pull_request]
jobs:
build:
name: Build captainhook on ${{ matrix.php }}
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
include:
- php: 8.0
buildphar: false
experimental: false
ini: error_reporting="E_ALL"
- php: 8.1
buildphar: false
experimental: false
ini: error_reporting="E_ALL"
- php: 8.2
buildphar: true
experimental: false
ini: error_reporting="E_ALL"
- php: 8.3
buildphar: true
experimental: false
ini: error_reporting="E_ALL"
- php: 8.4
buildphar: false
experimental: true
ini: error_reporting="E_ALL & ~E_DEPRECATED"
steps:
- uses: actions/checkout@master
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
ini-values: ${{ matrix.ini }}
extensions: mbstring
- name: PHP Version
run: php -v
- name: Update composer
run: composer self-update
- name: Validate composer.json and composer.lock
run: COMPOSER=composer.demo.json composer validate
- name: Run test install
run: COMPOSER=composer.demo.json composer install