keep THESIS_AMQP_DSN as default #6
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
on: | |
push: | |
branches: ['main', '*.*.x'] | |
pull_request: ~ | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
services: | |
rabbitmq: | |
image: rabbitmq:alpine | |
ports: | |
- "5673:5672" | |
env: | |
RABBITMQ_DEFAULT_USER: thesis | |
RABBITMQ_DEFAULT_PASS: secret | |
options: --health-cmd "rabbitmqctl node_health_check" --health-interval 10s --health-timeout 5s --health-retries 5 | |
strategy: | |
matrix: | |
php: ["8.3"] | |
dependencies: ["locked", "lowest", "highest"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
ini-file: development | |
tools: composer:v2 | |
extensions: pcntl | |
ini-values: disable_functions=pcntl_fork | |
- uses: ramsey/composer-install@v3 | |
with: | |
composer-options: --optimize-autoloader | |
dependency-versions: ${{ matrix.dependencies }} | |
env: | |
COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH || '{}' }} | |
- run: composer test -- --colors=always |