Skip to content

[pull] master from kitodo:master #458

[pull] master from kitodo:master

[pull] master from kitodo:master #458

Workflow file for this run

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 }}