-
Notifications
You must be signed in to change notification settings - Fork 436
Expand file tree
/
Copy pathci.yml
More file actions
31 lines (25 loc) · 731 Bytes
/
ci.yml
File metadata and controls
31 lines (25 loc) · 731 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
name: CI
on:
pull_request:
push:
branches:
- master
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: ['8.2', '8.3']
name: PHP ${{ matrix.php }} tests
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
- uses: "ramsey/composer-install@v1"
with: # ext-rdkafka not needed for tests, and a pain to install on CI;
composer-options: "--ignore-platform-req=ext-rdkafka"
- run: sed -i 's/525568/16777471/' vendor/kwn/php-rdkafka-stubs/stubs/constants.php
- run: vendor/bin/phpunit --exclude-group=functional