Skip to content

Commit

Permalink
ci: add PHP 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
brotkrueml committed Sep 21, 2024
1 parent 10f4b98 commit e9037a2
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ jobs:
typo3-versions: ^12
- php-versions: 8.3
typo3-versions: ^13
- php-versions: 8.4
typo3-versions: ^12
- php-versions: 8.4
typo3-versions: ^13
steps:
- name: Check out repository
uses: actions/checkout@v4
Expand All @@ -42,13 +46,14 @@ jobs:
extensions: mbstring
- name: Install composer dependencies
run: |
composer require typo3/cms-core=${{ matrix.typo3-versions }}
composer remove ergebnis/composer-normalize --dev --no-update
composer require typo3/cms-core=${{ matrix.typo3-versions }} --no-progress --prefer-dist --optimize-autoloader
- name: Run PHP linter
run: |
find . -type f -name '*.php' ! -path "./.Build/*" -print0 | xargs -0 -n1 -P4 php -l -n | (! grep -v "No syntax errors detected" )
- name: Run unit tests
run: |
make tests
.Build/bin/phpunit --configuration=Tests/phpunit.xml.dist
code-quality:
name: Code Quality
runs-on: ubuntu-latest
Expand Down Expand Up @@ -76,18 +81,18 @@ jobs:
- name: Install composer dependencies
run: |
composer update --no-progress --prefer-dist --optimize-autoloader
- name: Normalize composer.json
run: |
composer normalize --dry-run
# - name: Normalize composer.json
# run: |
# composer normalize --dry-run
- name: Check coding standards
run: |
.Build/bin/ecs check --no-progress-bar
- name: Run phpstan
run: |
make phpstan
.Build/bin/phpstan analyse
- name: Run rector
run: |
make rector-dry
.Build/bin/rector --dry-run
# - name: Generate code coverage
# run: |
# make code-coverage
Expand Down

0 comments on commit e9037a2

Please sign in to comment.