mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2025-04-27 12:20:52 +02:00

[FEATURE] Test the prepare-release Composer script on CI ()

This script tends to break when we move configuration files
around. To prevent this in the future, we now check this
script on CI.
This commit is contained in:
Oliver Klee 2025-04-07 11:58:50 +02:00 committed by GitHub
parent 931463d099
commit e856f3995f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 30 additions and 0 deletions
.github/workflows
.gitlab/pipeline

View file

@ -89,6 +89,30 @@ jobs:
- "xliff:lint"
php-version:
- "8.3"
prepare-release:
name: "Check prepare release script"
runs-on: ubuntu-24.04
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Install PHP"
uses: shivammathur/setup-php@v2
with:
php-version: "${{ matrix.php-version }}"
ini-file: development
coverage: none
tools: composer:v2
- name: "Show Composer version"
run: "composer --version"
- name: "Show the Composer configuration"
run: "composer config --global --list"
- name: "Run command"
run: "composer prepare-release"
strategy:
fail-fast: false
matrix:
php-version:
- "8.3"
code-quality-frontend:
name: "Code quality frontend checks"
runs-on: ubuntu-24.04

View file

@ -29,6 +29,7 @@ include:
- '/.gitlab/pipeline/jobs/php-lint-php8.2.yml'
- '/.gitlab/pipeline/jobs/php-lint-php8.3.yml'
- '/.gitlab/pipeline/jobs/php-lint-php8.4.yml'
- '/.gitlab/pipeline/jobs/prepare-release.yml'
- '/.gitlab/pipeline/jobs/rector.yml'
- '/.gitlab/pipeline/jobs/typoscript-lint.yml'
- '/.gitlab/pipeline/jobs/unit-v12-php8.1-highest.yml'

View file

@ -0,0 +1,5 @@
prepare-release:
extends: .default
stage: test
script:
- composer prepare-release