-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (32 loc) · 1.11 KB
/
php.yml
File metadata and controls
39 lines (32 loc) · 1.11 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
name: Delayed Event Bundle Test
on:
push: ~
pull_request: ~
jobs:
build:
runs-on: ${{ matrix.operating-system }}
name: PHP ${{ matrix.php }} and Symfony ${{ matrix.symfony }}
strategy:
fail-fast: false
matrix:
operating-system: [ ubuntu-latest ]
php: ['7.4', '8.0', '8.1' ]
symfony: [ '4.4.*', '5.4.*']
services:
beanstalkd:
image: schickling/beanstalkd
ports:
- 11300:11300
steps:
- uses: actions/checkout@master
- name: Setup PHP ${{ matrix.php }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: flex
- name: Download dependencies
env:
SYMFONY_REQUIRE: ${{ matrix.symfony }}
uses: ramsey/composer-install@v1
- name: Run test suite on PHP ${{ matrix.php }} and Symfony ${{ matrix.symfony }}
run: ./vendor/bin/phpunit