Skip to content

Commit

Permalink
Merge pull request #321 from jweiland-net/feature/update-ci-workflow
Browse files Browse the repository at this point in the history
Feature/update ci workflow
  • Loading branch information
hojalatheef authored Sep 20, 2024
2 parents 8e39b5b + 3063441 commit 8788756
Show file tree
Hide file tree
Showing 98 changed files with 1,453 additions and 1,436 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
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

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

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

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

- name: 'Execute functional tests with postgres database'
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -d postgres -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

0 comments on commit 8788756

Please sign in to comment.