-
Notifications
You must be signed in to change notification settings - Fork 28
43 lines (35 loc) · 837 Bytes
/
php_ci.yml
File metadata and controls
43 lines (35 loc) · 837 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
38
39
40
41
42
43
name: PHP CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
ci:
name: PHP CI - test
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.0, 8.1, 8.2]
steps:
- name: Install additional packages
run: sudo apt-get install -y stunnel
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@86e1ccdd8ddc47bffc29bf667143f363a4cdfdbc
with:
php-version: ${{ matrix.php }}
coverage: xdebug
- name: Composer install
run: composer install
- name: PHP tests
run: ./vendor/bin/phpunit
ci_success:
name: CI Success
runs-on: ubuntu-latest
needs: [ci]
steps:
- run: echo "All CI jobs passed successfully"