Skip to content

Adapt github actions for TYPO3 13 #86

Adapt github actions for TYPO3 13

Adapt github actions for TYPO3 13 #86

Workflow file for this run

name: TYPO3 12
on:
push:
branches:
- main
- release/4.0.0
pull_request:
branches:
- main
- release/4.0.0
jobs:
test:
runs-on: ubuntu-20.04
strategy:
matrix:
typo3: ["12"]
php: ["8.1", "8.2", "8.3"]
composer: ["lowest", "highest"]
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
steps:
- uses: actions/checkout@v2
- name: Check Gitlab Token
run: |
if [ -z "${{ env.GH_TOKEN }}" ]; then
echo "GH_TOKEN is not set in Action Secrets"
exit 1
fi
- name: Run tests
uses: ddev/github-action-setup-ddev@v1
- run: ddev composer config --global github-oauth.github.com ${{ env.GH_TOKEN }}
- run: ddev ci ${{ matrix.typo3 }} ${{ matrix.php }} ${{ matrix.composer }}