Add PDO storage adapter. (#157) #381
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: BlackBox Tests | |
on: [ push, pull_request ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
name: Run BlackBox Tests | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Cache dependencies | |
uses: actions/cache@v2 | |
with: | |
path: ~/.composer/cache/files | |
key: dependencies-blackbox | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.3 | |
coverage: none | |
- name: Install dependencies | |
run: composer install --prefer-dist --no-interaction --no-suggest | |
- name: Compose Blackbox environment | |
run: docker compose up -d | |
- name: Run Blackbox with APC | |
run: docker compose run phpunit env ADAPTER=apc vendor/bin/phpunit tests/Test/ | |
- name: Run Blackbox with APCng | |
run: docker compose run phpunit env ADAPTER=apcng vendor/bin/phpunit tests/Test/ | |
- name: Run Blackbox with Redis | |
run: docker compose run phpunit env ADAPTER=redis vendor/bin/phpunit tests/Test/ | |