Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
b52382a
[TASK] Updated gitignore file
hojalatheef Jul 16, 2025
2e84f05
[TASK] Formatting ext_tables.sql
hojalatheef Jul 16, 2025
468e287
[TASK] Fixed ext_tables.php
hojalatheef Jul 16, 2025
f346ee9
[TASK] Moves Icons.php to Configurations folder
hojalatheef Jul 16, 2025
ac5a2ce
[TASK] Fixed ext_localconf.php
hojalatheef Jul 16, 2025
25434cf
[TASK] Fixed version constraints
hojalatheef Jul 16, 2025
b4c8ea6
[TASK] Fixed composer configurations
hojalatheef Jul 16, 2025
ecb4dbb
[TASK] Migrated Nimut Testing FrameWork to TYPO3 Testing Framework
hojalatheef Jul 16, 2025
6224bcb
[TASK] Uodated README file with badges
hojalatheef Jul 16, 2025
c27f185
[TASK] Fixed compatibility fixes for TYPO3 12
hojalatheef Jul 16, 2025
45a001b
[TASK] Fixed Configurations
hojalatheef Jul 16, 2025
d25e64b
[TASK] Fixed Events with replacing ObjectManager with Dependency Inje…
hojalatheef Jul 17, 2025
f7c276e
[TASK] Replaced deprecated functions
hojalatheef Jul 17, 2025
10561b9
[TASK] Fixed Backend Module
hojalatheef Jul 18, 2025
c471f51
[TASK] Removed ControllerContext
hojalatheef Jul 18, 2025
cce2ae5
[TASK] Fixed Controller and PageTypescript
hojalatheef Jul 18, 2025
17bdf12
[TASK] Set property types on Model class
hojalatheef Jul 18, 2025
f7cf3e0
[TASK] Updated test environment
hojalatheef Jul 18, 2025
4bc42b5
[TASK] Activated composer normalize
hojalatheef Jul 18, 2025
3258a68
[TASK] Fixed CGL fixes
hojalatheef Jul 18, 2025
f9f5675
[TASK] Fixed Unit Tests
hojalatheef Jul 18, 2025
04a6819
[TASK] Fixes in Test Cases
hojalatheef Jul 18, 2025
f607cea
[TASK] Disabled phpstan
hojalatheef Jul 18, 2025
fa4c81c
[TASK] Fixes for Test Cases and controller
hojalatheef Jul 21, 2025
504a23e
[TASK] Replaced wrong package name with pforum
hojalatheef Jul 21, 2025
0ea8dd1
[TASK] Updated package name
hojalatheef Jul 21, 2025
95fc4ac
[TASK] Version constratins and documentation updated
hojalatheef Jul 21, 2025
7f7ff90
[TASK] Fixed issues in frontend creation
hojalatheef Jul 23, 2025
6139378
[TASK] Fixed CGL issues
hojalatheef Jul 23, 2025
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
92 changes: 29 additions & 63 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,82 +1,48 @@
# Adapted from https://github.com/TYPO3GmbH/blog/blob/master/.github/workflows/ci.yml
name: CI
name: Tests

on: [pull_request]

jobs:
build:
testing:
name: Testing

runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
typo3: [^10.4, ^11.5]
php: ['7.4']
include:
- typo3: ^11.5
php: '8.0'
- typo3: ^11.5
php: '8.1'
fail-fast: true

services:
mysql:
image: mysql:5.6
env:
MYSQL_ALLOW_EMPTY_PASSWORD: false
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: test
ports:
- 3306/tcp
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
matrix:
php:
- '8.2'
- '8.3'

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

- name: Setup PHP ${{ matrix.php }}, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: mbstring, dom, zip, mysql
- name: 'Checkout'
uses: actions/checkout@v4

- name: Start mysql service
run: sudo /etc/init.d/mysql start
- name: 'Lint PHP'
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s lint

- name: Validate composer.json and composer.lock
run: composer validate
- name: 'Install testing system'
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s composerUpdate

- name: Get composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: 'Composer validate'
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s composerValidate

- name: Cache composer dependencies
uses: actions/cache@v2
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-composer-
- name: 'Composer normalize'
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s composerNormalize -n

- name: Install dependencies with typo3/cms-core:${{ matrix.typo3 }}
run: |
composer require typo3/cms-core:${{ matrix.typo3 }} --no-progress
composer require typo3/cms-extensionmanager:${{ matrix.typo3 }} --no-progress
git checkout composer.json
- name: 'CGL'
run: Build/Scripts/runTests.sh -n -p ${{ matrix.php }} -s cgl

- name: php-cs-fixer
run: composer ci:php:fixer
#- name: 'phpstan'
# run: Build/Scripts/runTests.sh -n -p ${{ matrix.php }} -s phpstan

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

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

- name: Functional Tests
env:
typo3DatabaseName: test
typo3DatabaseUsername: root
typo3DatabasePassword: password
typo3DatabaseHost: 127.0.0.1
typo3DatabasePort: ${{ job.services.mysql.ports['3306'] }}
run: |
composer ci:tests:functional
- name: 'Execute functional tests'
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -d mariadb -s functional
43 changes: 35 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,17 +1,44 @@
# Git global ignore file
# for local exclude patterns please edit .git/info/exclude
# Example file see https://github.com/TYPO3-Documentation/T3DocTeam/blob/master/.gitignore
########################
# pforum
# global ignore file
########################

# ignore generated documentation
# Ignore files generated by docs rendering
*GENERATED*
docker-compose.yaml
docker-compose.yml

# ignore typical clutter of IDEs and editors (this could be added in .git/info/exclude,
# but we add it here for convenience)
# Ignore environment files
.env

# Ignore temporary files (left by editors and OS)
*~
*.bak
*.swp
.DS_Store

# Ignore by common IDEs used directories/files
nbproject
*.idea
*.project
*.swp
.project
.buildpath
.settings
.TemporaryItems
.webprj
.fleet

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

# Ignore composer stuff
/composer.lock

# Ignore testing stuff
/.Build
/composer.json.orig
/composer.json.testing
92 changes: 0 additions & 92 deletions Build/.php_cs.php

This file was deleted.

Loading