Skip to content

Commit

Permalink
Pipeline (#270)
Browse files Browse the repository at this point in the history
Fiz php 8.1 Pipeline
  • Loading branch information
jleonardolemos authored Mar 11, 2022
1 parent 36f9617 commit 5669647
Showing 1 changed file with 39 additions and 1 deletion.
40 changes: 39 additions & 1 deletion .github/workflows/continous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-18.04
strategy:
matrix:
php-versions: ['7.3', '7.4', '8.0', '8.1']
php-versions: ['7.3', '7.4', '8.0']

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -48,3 +48,41 @@ jobs:
- name: Run phpunit with lowest dependencies
run: XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --configuration=phpunit-ci.xml

build-new-php-version:

services:
rabbitmq:
image: rabbitmq:3.8
ports:
- 5672:5672

runs-on: ubuntu-18.04
strategy:
matrix:
php-versions: ['8.1']

steps:
- uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: sockets, xdebug
coverage: xdebug
tools: phpunit:latest

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install dependencies
run: composer update --prefer-dist --no-interaction

- name: Run phpunit
run: XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --configuration=phpunit-ci.xml

0 comments on commit 5669647

Please sign in to comment.