Skip to content

feat: Simplify acquiring and resuing connections #362

feat: Simplify acquiring and resuing connections

feat: Simplify acquiring and resuing connections #362

name: Integration Tests
on:
push:
branches:
- main
pull_request:
concurrency:
group: integration-tests-aura
cancel-in-progress: true
jobs:
tests:
runs-on: ubuntu-latest
name: "Running on all provided Aura instances"
steps:
- uses: actions/checkout@v4
- name: Populate .env
run: |
echo "PHP_VERSION=8.1.31" > .env
echo "CONNECTION=\"${{ secrets.AURA_PRO }}\"" >> .env
- name: Cache PHP deps
id: cache-php-deps
uses: actions/cache@v4
with:
path: vendor
key: ${{ runner.os }}-php-8.1.31-${{ hashFiles('**/composer.json') }}
restore-keys: |
${{ runner.os }}-php-8.1.31-
- name: Install PHP deps
if: steps.cache-php-deps.outputs.cache-hit != 'true'
run: docker compose run --rm client composer install
- name: Run tests
run: docker compose run --rm ./vendor/bin/phpunit -c phpunit.xml.dist --testsuite Integration