Skip to content

Commit

Permalink
Merge pull request #38 from jweiland-net/typo3_12_compatibility
Browse files Browse the repository at this point in the history
Typo3 12 compatibility
  • Loading branch information
sfroemkenjw committed May 3, 2023
2 parents 80ee82b + de863e0 commit 5953b47
Show file tree
Hide file tree
Showing 24 changed files with 1,716 additions and 209 deletions.
47 changes: 0 additions & 47 deletions .github/workflows/ci.yml

This file was deleted.

47 changes: 47 additions & 0 deletions .github/workflows/typo3_11.yml
@@ -0,0 +1,47 @@
name: Test video_shariff against TYPO3 11

on: [pull_request]

jobs:
CGL:
name: Coding Style

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Validate composer.json and composer.lock
run: Build/Scripts/runTests.sh -t 11 -p 8.1 -s composer -e 'validate'

- name: Install testing system
run: Build/Scripts/runTests.sh -t 11 -p 8.1 -s composerInstall

- name: Lint PHP
run: Build/Scripts/runTests.sh -t 11 -p 8.1 -s lint

- name: Validate code against CGL
run: Build/Scripts/runTests.sh -t 11 -p 8.1 -s cgl -n

testing:
name: PHP ${{ matrix.php }} Unit and Functional Tests
needs: CGL

runs-on: ubuntu-latest

strategy:
fail-fast: false

matrix:
php: [ '7.4', '8.0', '8.1' ]

steps:
- name: Checkout
uses: actions/checkout@v3

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

- name: Functional Tests with mariadb and mysqli
run: Build/Scripts/runTests.sh -t 11 -p ${{ matrix.php }} -d mariadb -a mysqli -s functional
47 changes: 47 additions & 0 deletions .github/workflows/typo3_12.yml
@@ -0,0 +1,47 @@
name: Test video_shariff against TYPO3 12

on: [pull_request]

jobs:
CGL:
name: Coding Style

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Validate composer.json and composer.lock
run: Build/Scripts/runTests.sh -t 12 -p 8.1 -s composer -e 'validate'

- name: Install testing system
run: Build/Scripts/runTests.sh -t 12 -p 8.1 -s composerInstall

- name: Lint PHP
run: Build/Scripts/runTests.sh -t 12 -p 8.1 -s lint

- name: Validate code against CGL
run: Build/Scripts/runTests.sh -t 12 -p 8.1 -s cgl -n

testing:
name: PHP ${{ matrix.php }} Unit and Functional Tests
needs: CGL

runs-on: ubuntu-latest

strategy:
fail-fast: false

matrix:
php: [ '8.1', '8.2' ]

steps:
- name: Checkout
uses: actions/checkout@v3

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

- name: Functional Tests with mariadb and mysqli
run: Build/Scripts/runTests.sh -t 12 -p ${{ matrix.php }} -d mariadb -a mysqli -s functional
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -26,11 +26,11 @@ nbproject

# Temporary files and folders
/.cache
.phpunit.cache/
.php_cs.cache
.php-cs-fixer.cache
.sass-cache
.session
*.log

# Ignore composer stuff
/composer.lock

0 comments on commit 5953b47

Please sign in to comment.