Skip to content

Fix CI workflow.

Fix CI workflow. #33

Workflow file for this run

name: CI
on: [push, pull_request]
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"
env:
PHP_VERSION: ${{ matrix.php_version }}
steps:
- name: clone
uses: actions/checkout@v4
- name: test
run: |
docker compose up -d
docker compose exec -T php require consolidation/robo:~${{ matrix.ROBO_VERSION }}
docker compose exec -T php phpunit