Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/update ci workflow #321

Merged
merged 8 commits into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Tests

on: [pull_request]

jobs:
testing:
name: Testing

runs-on: ubuntu-latest

strategy:
fail-fast: true

matrix:
php:
- '8.1'
- '8.2'
- '8.3'

steps:
- name: 'Checkout'
uses: actions/checkout@v4

- name: 'Lint PHP'
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s lint

- name: 'Install testing system'
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s composerUpdate

- name: 'Composer validate'
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s composerValidate

- name: 'Composer normalize'
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s composerNormalize -n

- name: 'CGL'
run: Build/Scripts/runTests.sh -n -p ${{ matrix.php }} -s cgl

# Disabled phpstan as the level-6 needs a lot of fixes
#- name: 'phpstan'
# run: Build/Scripts/runTests.sh -n -p ${{ matrix.php }} -s phpstan

hojalatheef marked this conversation as resolved.
Show resolved Hide resolved
- name: 'Execute unit tests'
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s unit

- name: 'Execute functional tests'
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -d mysql -s functional

- name: 'Execute functional tests'
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -d mariadb -s functional
53 changes: 0 additions & 53 deletions .github/workflows/typo3_12.yml

This file was deleted.

32 changes: 0 additions & 32 deletions Build/FunctionalTests.xml

This file was deleted.

20 changes: 0 additions & 20 deletions Build/FunctionalTestsBootstrap.php

This file was deleted.

Loading