Skip to content

Use docker compose in GitHub action. #26

Use docker compose in GitHub action.

Use docker compose in GitHub action. #26

Workflow file for this run

name: CI
on: [push, pull_request_target]
jobs:
build-test:
runs-on: ubuntu-24.04
strategy:
matrix:
ROBO_VERSION: [ "4.0", "5.0" ]
PHP_VERSION: [ "8.2", "8.3" ]
include:
- ROBO_VERSION: "4.0"
PHP_VERSION: "8.0"
- ROBO_VERSION: "4.0"
PHP_VERSION: "8.1"
steps:
- uses: actions/checkout@v2
- name: test
run: |
docker compose up -d
docker compose exec -T php require consolidation/robo:~${{ matrix.ROBO_VERSION }}
docker compose exec -T php phpunit