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 (#1630)
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:
parent
931463d099
commit
e856f3995f
3 changed files with 30 additions and 0 deletions
24
.github/workflows/ci.yml
vendored
24
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
5
.gitlab/pipeline/jobs/prepare-release.yml
Normal file
5
.gitlab/pipeline/jobs/prepare-release.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
prepare-release:
|
||||
extends: .default
|
||||
stage: test
|
||||
script:
|
||||
- composer prepare-release
|
Loading…
Add table
Add a link
Reference in a new issue