Skip to content

Drop docker related stuff #630

Drop docker related stuff

Drop docker related stuff #630

Workflow file for this run

name: "unit tests"
on:
pull_request: ~
push: ~
schedule:
# Do not make it the first of the month and/or midnight since it is a very busy time
- cron: "* 10 5 * *"
jobs:
tests:
runs-on: "ubuntu-latest"
continue-on-error: "${{ matrix.can-fail }}"
strategy:
fail-fast: false
matrix:
php: ["8.1", "8.2", "8.3", "8.4"]
symfony: ["6.4.*", "7.1.*", "7.2.*"]
doctrine-orm: ["^2.14", "^3.0"]
dependency-versions: ["highest"]
composer-stable: ["1"]
can-fail: [false]
include:
- php: "8.1"
symfony: "6.4.*"
doctrine-orm: "^2.14"
dependency-versions: "lowest"
composer-stable: "1"
can-fail: false
exclude:
- php: "8.1"
symfony: "7.1.*"
- php: "8.1"
symfony: "7.2.*"
name: "PHP ${{ matrix.php }} - Symfony ${{ matrix.symfony }} - Doctrine ORM ${{ matrix.doctrine-orm }} - Composer ${{ matrix.dependency-versions }}"
steps:
- name: "checkout"
uses: "actions/checkout@v4"
- name: "setup php"
uses: "shivammathur/setup-php@v2"
with:
php-version: "${{ matrix.php }}"
tools: "composer, flex"
- name: "require specific Doctrine ORM version"
env:
COMPOSER_PREFER_STABLE: "${{ matrix.composer-stable }}"
run: "composer require --no-scripts --no-install --dev doctrine/orm:${{ matrix.doctrine-orm }} --ansi"
- name: "install composer dependencies"
uses: "ramsey/composer-install@v3"
env:
SYMFONY_REQUIRE: "${{ matrix.symfony }}"
COMPOSER_PREFER_STABLE: "${{ matrix.composer-stable }}"
with:
dependency-versions: "${{ matrix.dependency-versions }}"
- name: "run unit tests"
run: "vendor/bin/simple-phpunit --colors=always"