[pull] master from kitodo:master #458
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: Unit and Functional Testing | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
test: | |
name: TYPO3 | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
variants: [ {typo3: 11.5, php: 7.4}, {typo3: 12.4, php: 8.1} ] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: Build/Test/runTests.sh -s composerInstall -t ${{ matrix.variants.typo3 }} -p ${{ matrix.variants.php }} | |
- name: Run unit tests | |
run: Build/Test/runTests.sh -s unit -p ${{ matrix.variants.php }} | |
- name: Run functional tests | |
run: Build/Test/runTests.sh -s functional -p ${{ matrix.variants.php }} | |
- name: Upload coverage reports | |
uses: codecov/codecov-action@v4 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |