feat: migrate state to redis #120
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: "Tests" | |
on: [pull_request] | |
jobs: | |
tests: | |
name: Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v2 | |
- name: Start Test Stack | |
run: | | |
export COMPOSE_INTERACTIVE_NO_CLI | |
export DOCKER_BUILDKIT=1 | |
export COMPOSE_DOCKER_CLI_BUILD=1 | |
export BUILDKIT_PROGRESS=plain | |
docker pull composer:2.0 | |
docker compose build | |
docker compose up -d --wait | |
- name: Doctor | |
run: docker ps | |
- name: Run Tests | |
run: | | |
docker run --rm -v $PWD:/app --network proxy_servers -w /app phpswoole/swoole:4.8.12-php8.0-alpine sh -c \ | |
"composer install --profile --ignore-platform-reqs && composer test" |