Skip to content

EWPP-4100: Add php8.2 to matrix. #534

EWPP-4100: Add php8.2 to matrix.

EWPP-4100: Add php8.2 to matrix. #534

Workflow file for this run

name: ci
on: [push, pull_request]
jobs:
automated-tests:
runs-on: ubuntu-latest
strategy:
matrix:
php_version: ["8.1", "8.2"]
composer_command: ["composer install", "composer update --prefer-lowest"]
env:
PHP_VERSION: ${{ matrix.php_version }}
steps:
- name: clone
uses: actions/checkout@v2
- run: docker-compose up -d
- name: build
run: docker-compose exec -T php ${{ matrix.composer_command }}
- name: test
run: docker-compose exec -T php ./vendor/bin/phpunit
code-sniffer:
runs-on: ubuntu-latest
env:
PHP_VERSION: ${{ matrix.php_version }}
steps:
- name: clone
uses: actions/checkout@v2
- run: docker-compose up -d
- name: build
run: docker-compose exec -T php composer install
- name: test
run: docker-compose exec -T php ./vendor/bin/grumphp run