Skip to content

change version to 11.0.14 #105

change version to 11.0.14

change version to 11.0.14 #105

Workflow file for this run

name: CI
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
typo3: [ ^8.7, ^9.5, ^10.4, ^11.5 ]
php: [ '7.4' ]
experimental: [false]
include:
- typo3: ^11.5
php: '8.0'
experimental: false
- typo3: ^11.5
php: '8.2'
experimental: false
continue-on-error: ${{ matrix.experimental }}
steps:
- name: Start database server
run: sudo /etc/init.d/mysql start
- name: Checkout
uses: actions/checkout@v3
- name: Set up PHP Version ${{ matrix.php }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
- name: Environment Check and fixed composer version
run: |
php --version
composer self-update --2.2
composer --version
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install dependencies with nimut/typo3-complete:${{ matrix.typo3 }}
run: |
composer require --dev nimut/typo3-complete:${{ matrix.typo3 }} --no-progress
git checkout composer.json
ln -nfs .Build/vendor/typo3/cms/typo3 typo3
- name: Lint PHP
run: find . -name \*.php ! -path "./.Build/*" ! -path "./scripts/*" ! -path "./typo3_src/*" | parallel --gnu php -d display_errors=stderr -l {} > /dev/null \;
- name: Unit Tests without coverage
if: matrix.typo3 != '^10.4' || matrix.php != '7.4'
run: |
export "UNIT_XML"=.Build/vendor/nimut/testing-framework/res/Configuration/UnitTests.xml
.Build/bin/phpunit --colors -c $UNIT_XML Tests
- name: Unit Tests with coverage without 8.0
if: matrix.typo3 == '^11.5' && matrix.php == '7.4'
run: |
export "UNIT_XML"=.Build/vendor/nimut/testing-framework/res/Configuration/UnitTests.xml
.Build/bin/phpunit --whitelist Classes --coverage-clover=unittest-coverage.clover --colors -c $UNIT_XML Tests
- name: Upload coverage results to Scrutinizer
if: matrix.typo3 == '^10.4'
run: |
wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover unittest-coverage.clover