Skip to content

Chores: Update runtimes #425

Chores: Update runtimes

Chores: Update runtimes #425

Workflow file for this run

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"