Skip to content

[TASK] Change action setup #28

[TASK] Change action setup

[TASK] Change action setup #28

Workflow file for this run

name: 'Unit Test'
on: [ push, pull_request ]
jobs:
unit-test:
name: Unit Tests
runs-on: ubuntu-20.04
strategy:
matrix:
php:
- '8.1'
- '8.2'
typo3:
- '12.4'
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: Test on PHP ${{ matrix.php }} on TYPO3 ${{ matrix.typo3 }}
run: |
composer remove --dev typo3/cms-form
composer remove typo3/cms-core typo3/cms-extbase typo3/cms-frontend
composer require "typo3/cms-core:^${{ matrix.typo3 }}" "typo3/cms-extbase:^${{ matrix.typo3 }}" "typo3/cms-frontend:^${{ matrix.typo3 }}"
composer require --dev "typo3/cms-form:^${{ matrix.typo3 }}"
make unit