forked from WapplerSystems/cleverreach
-
Notifications
You must be signed in to change notification settings - Fork 5
35 lines (27 loc) · 883 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: 'Unit Test'
on: [ push, pull_request ]
jobs:
unit-test:
name: PHP Unit Tests
runs-on: ubuntu-24.04
strategy:
matrix:
php:
- '8.2'
- '8.3'
typo3:
- '13.4'
steps:
- name: Checkout repository
uses: actions/checkout@v4
- 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-install:^${{ matrix.typo3 }}"
composer require --dev "typo3/cms-form:^${{ matrix.typo3 }}"
make unit