diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index db178c7..9d8e518 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -10,13 +10,13 @@ permissions: contents: read jobs: - arango_3_7: + arango_3_11: runs-on: ubuntu-latest env: - ARANGO_SERVER: 3.7.18 + ARANGO_SERVER: 3.11.8 services: arangodb: - image: 'arangodb/arangodb:3.7.18' + image: 'arangodb/arangodb:3.11.8' ports: - 8529:8529 env: @@ -24,7 +24,7 @@ jobs: strategy: fail-fast: false matrix: - php-versions: ['8.0', '8.1'] + php-versions: ['8.2', '8.3'] steps: - name: Setup PHP @@ -51,13 +51,13 @@ jobs: - name: Run tests suites run: vendor/bin/phpunit -c phpunit.xml - arango_3_8: + arango_3_12: runs-on: ubuntu-latest env: - ARANGO_SERVER: 3.8.7 + ARANGO_SERVER: 3.12 services: arangodb: - image: 'arangodb/arangodb:3.8.7' + image: 'arangodb/arangodb:3.12.0' ports: - 8529:8529 env: @@ -65,7 +65,7 @@ jobs: strategy: fail-fast: false matrix: - php-versions: ['8.0', '8.1'] + php-versions: ['8.2', '8.3'] steps: - name: Setup PHP @@ -92,43 +92,3 @@ jobs: - 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