[BUGFIX] Allow CSS styles to be loaded from private folders #253
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
env: | |
- { TYPO3_VERSION: 11, PHP_VERSION: 7.4 } | |
- { TYPO3_VERSION: 11, PHP_VERSION: 8.0 } | |
- { TYPO3_VERSION: 12, PHP_VERSION: 8.1 } | |
- { TYPO3_VERSION: 12, PHP_VERSION: 8.2 } | |
- { TYPO3_VERSION: 12, PHP_VERSION: 8.3 } | |
env: | |
TCPDF_VERSION: 6.6.2 | |
FPDI_VERSION: 2.5.0 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.env.PHP_VERSION }} | |
tools: composer | |
extensions: pdo, sqlite3 | |
- name: Update Composer | |
run: | | |
sudo composer self-update | |
composer --version | |
- name: Install QPDF | |
run: | | |
sudo apt-get update | |
sudo apt-get install qpdf | |
- name: Validate composer.json | |
run: composer validate | |
- name: Install TYPO3 core | |
env: ${{ matrix.env }} | |
run: composer require typo3/cms-core="^${TYPO3_VERSION}" | |
- name: Install specific TCPDF and FPDI versions for reproducible tests | |
run: | | |
composer require tecnickcom/tcpdf="${TCPDF_VERSION}" | |
composer require setasign/fpdi="${FPDI_VERSION}" | |
- name: PHPCS | |
run: .Build/bin/phpcs -n --standard=PSR12 Classes/ | |
- name: Unit Tests | |
run: .Build/bin/phpunit --testdox -c .Build/vendor/typo3/testing-framework/Resources/Core/Build/UnitTests.xml Tests/Unit/; | |
- name: Start MySQL | |
run: sudo /etc/init.d/mysql start | |
- name: Functional Tests | |
run: .Build/bin/phpunit -c .Build/vendor/typo3/testing-framework/Resources/Core/Build/FunctionalTests.xml Tests/Functional/; | |
env: | |
typo3DatabaseName: typo3 | |
typo3DatabaseHost: 127.0.0.1 | |
typo3DatabaseUsername: root | |
typo3DatabasePassword: root | |
- name: Upload Test Outputs | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: examples-output-${{ matrix.env.TYPO3_VERSION }}-${{ matrix.env.PHP_VERSION }} | |
path: Tests/Output |