feat: retry and uniqid #443
Workflow file for this run
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 | |
sleep 60 | |
- name: Doctor | |
run: | | |
docker compose logs | |
docker ps | |
docker network ls | |
- name: Run Tests | |
run: | | |
docker run --rm -v $PWD:/app -v /tmp:/tmp -v /var/run/docker.sock:/var/run/docker.sock --network executor_runtimes -w /app phpswoole/swoole:5.1.2-php8.3-alpine sh -c "apk update && apk add docker-cli && composer install --profile --ignore-platform-reqs && composer test" |