Skip to content

php 8.2: update dependencies #24

php 8.2: update dependencies

php 8.2: update dependencies #24

Workflow file for this run

name: PHP
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
permissions:
contents: read
jobs:
arango_3_7:
runs-on: ubuntu-latest
env:
ARANGO_SERVER: 3.7.18
services:
arangodb:
image: 'arangodb/arangodb:3.7.18'
ports:
- 8529:8529
env:
ARANGO_ROOT_PASSWORD: testing
strategy:
fail-fast: false
matrix:
php-versions: ['8.0', '8.1']
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
coverage: xdebug
- name: Check out repository code
uses: actions/checkout@v3
- name: Add testing configuration
run: cp .env.testing .env
- name: Add ArangoDB version to .env
run: echo -e "\nARANGODB_VERSION=$ARANGO_SERVER" >> .env
- name: Install dependencies
run: composer install --no-interaction
- name: Wait ArangoDB to init
run: sleep 30
- name: Run tests suites
run: vendor/bin/phpunit -c phpunit.xml
arango_3_8:
runs-on: ubuntu-latest
env:
ARANGO_SERVER: 3.8.7
services:
arangodb:
image: 'arangodb/arangodb:3.8.7'
ports:
- 8529:8529
env:
ARANGO_ROOT_PASSWORD: testing
strategy:
fail-fast: false
matrix:
php-versions: ['8.0', '8.1']
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
coverage: xdebug
- name: Check out repository code
uses: actions/checkout@v3
- name: Add testing configuration
run: cp .env.testing .env
- name: Add ArangoDB version to .env
run: echo -e "\nARANGODB_VERSION=$ARANGO_SERVER" >> .env
- name: Install dependencies
run: composer install --no-interaction
- name: Wait ArangoDB to init
run: sleep 30
- name: Run tests suites
run: vendor/bin/phpunit -c phpunit.xml
arango_3_9:
runs-on: ubuntu-latest
env:
ARANGO_SERVER: 3.9.2
services:
arangodb:
image: 'arangodb/arangodb:3.9.2'
ports:
- 8529:8529
env:
ARANGO_ROOT_PASSWORD: testing
strategy:
fail-fast: false
matrix:
php-versions: ['8.0', '8.1']
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
coverage: xdebug
- name: Check out repository code
uses: actions/checkout@v3
- name: Add testing configuration
run: cp .env.testing .env
- name: Add ArangoDB version to .env
run: echo -e "\nARANGODB_VERSION=$ARANGO_SERVER" >> .env
- name: Install dependencies
run: composer install --no-interaction
- name: Wait ArangoDB to init
run: sleep 30
- name: Run tests suites
run: vendor/bin/phpunit -c phpunit.xml