Skip to content

Commit

Permalink
Remove some irrelevant CI jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverklee committed Apr 13, 2024
1 parent 145f555 commit 579105e
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 279 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/automerge.yml

This file was deleted.

145 changes: 0 additions & 145 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,152 +31,7 @@ jobs:
fail-fast: false
matrix:
php-version:
- "7.2"
- "7.3"
- "7.4"
- "8.0"
- "8.1"
- "8.2"
- "8.3"
code-quality:
name: "Code quality checks"
runs-on: ubuntu-22.04
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Install PHP"
uses: shivammathur/setup-php@v2
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
php-version: "${{ matrix.php-version }}"
ini-file: development
tools: composer:v2
extensions: zip
coverage: none
- name: "Show Composer version"
run: composer --version
- name: "Show the Composer configuration"
run: composer config --global --list
- name: "Cache dependencies installed with composer"
uses: actions/cache@v4
with:
key: "php${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.json') }}"
path: ~/.cache/composer
restore-keys: "php${{ matrix.php-version }}-composer-\n"
- name: "Install Composer dependencies"
run: "composer update --no-ansi --no-progress"
- name: "Run command"
run: "composer ci:${{ matrix.command }}"
strategy:
fail-fast: false
matrix:
command:
- "composer:normalize"
- "php:cs-fixer"
- "php:sniff"
- "php:stan"
- "ts:lint"
php-version:
- "8.1"
unit-tests:
name: "Unit tests"
runs-on: ubuntu-22.04
needs: php-lint
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Install PHP"
uses: shivammathur/setup-php@v2
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
php-version: "${{ matrix.php-version }}"
ini-file: development
tools: composer:v2
extensions: dom, json, libxml, zip
coverage: none
ini-values: error_reporting=E_ALL
- name: "Show Composer version"
run: composer --version
- name: "Show the Composer configuration"
run: composer config --global --list
- name: "Cache dependencies installed with composer"
uses: actions/cache@v4
with:
key: "php${{ matrix.php-version }}-typo3${{ matrix.typo3-version }}-${{ matrix.composer-dependencies }}-composer-${{ hashFiles('**/composer.json') }}"
path: ~/.cache/composer
restore-keys: "php${{ matrix.php-version }}-typo3${{ matrix.typo3-version }}-${{ matrix.composer-dependencies }}-composer-\n"
- name: "Install TYPO3 Core"
env:
TYPO3: "${{ matrix.typo3-version }}"
run: |
composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"$TYPO3"
composer show
- name: "Install lowest dependencies with composer"
if: "matrix.composer-dependencies == 'lowest'"
run: |
composer update --no-ansi --no-interaction --no-progress --with-dependencies --prefer-lowest
composer show
- name: "Install highest dependencies with composer"
if: "matrix.composer-dependencies == 'highest'"
run: |
composer update --no-ansi --no-interaction --no-progress --with-dependencies
composer show
- name: "Run unit tests"
run: "composer ci:tests:unit"
strategy:
fail-fast: false
matrix:
include:
- typo3-version: "^10.4"
php-version: "7.2"
composer-dependencies: lowest
- typo3-version: "^10.4"
php-version: "7.2"
composer-dependencies: highest
- typo3-version: "^10.4"
php-version: "7.3"
composer-dependencies: lowest
- typo3-version: "^10.4"
php-version: "7.3"
composer-dependencies: highest
- typo3-version: "^10.4"
php-version: "7.4"
composer-dependencies: lowest
- typo3-version: "^10.4"
php-version: "7.4"
composer-dependencies: highest
- typo3-version: "^11.5"
php-version: "7.4"
composer-dependencies: lowest
- typo3-version: "^11.5"
php-version: "7.4"
composer-dependencies: highest
- typo3-version: "^11.5"
php-version: "8.0"
composer-dependencies: lowest
- typo3-version: "^11.5"
php-version: "8.0"
composer-dependencies: highest
- typo3-version: "^11.5"
php-version: "8.1"
composer-dependencies: lowest
- typo3-version: "^11.5"
php-version: "8.1"
composer-dependencies: highest
- typo3-version: "^11.5"
php-version: "8.2"
composer-dependencies: lowest
- typo3-version: "^11.5"
php-version: "8.2"
composer-dependencies: highest
- typo3-version: "^11.5"
php-version: "8.3"
composer-dependencies: lowest
- typo3-version: "^11.5"
php-version: "8.3"
composer-dependencies: highest
functional-tests:
name: "Functional tests"
runs-on: ubuntu-22.04
Expand Down
95 changes: 0 additions & 95 deletions .github/workflows/codecoverage.yml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/release.yml

This file was deleted.

0 comments on commit 579105e

Please sign in to comment.