Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
30 changes: 17 additions & 13 deletions .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,31 +89,35 @@ rulesets:
strict_required_status_checks_policy: true
do_not_enforce_on_create: false
required_status_checks:
- context: 'cgl'
- context: 'Checks / Perform Composer checks'
integration_id: 15368
- context: 'Tests (PHP 8.2, Ubuntu & highest dependencies)'
- context: 'Checks / Perform npm checks'
integration_id: 15368
- context: 'Tests (PHP 8.2, Ubuntu & lowest dependencies)'
- context: 'Checks / Perform repository checks'
integration_id: 15368
- context: 'Tests (PHP 8.3, Ubuntu & highest dependencies)'
- context: 'Unit tests (PHP 8.2, Ubuntu & highest dependencies) / Run tests'
integration_id: 15368
- context: 'Tests (PHP 8.3, Ubuntu & lowest dependencies)'
- context: 'Unit tests (PHP 8.2, Ubuntu & lowest dependencies) / Run tests'
integration_id: 15368
- context: 'Tests (PHP 8.4, Ubuntu & highest dependencies)'
- context: 'Unit tests (PHP 8.3, Ubuntu & highest dependencies) / Run tests'
integration_id: 15368
- context: 'Tests (PHP 8.4, Ubuntu & lowest dependencies)'
- context: 'Unit tests (PHP 8.3, Ubuntu & lowest dependencies) / Run tests'
integration_id: 15368
- context: 'Tests (PHP 8.5, Ubuntu & highest dependencies)'
- context: 'Unit tests (PHP 8.4, Ubuntu & highest dependencies) / Run tests'
integration_id: 15368
- context: 'Tests (PHP 8.5, Ubuntu & lowest dependencies)'
- context: 'Unit tests (PHP 8.4, Ubuntu & lowest dependencies) / Run tests'
integration_id: 15368
- context: 'Tests (PHP 8.5, macOS & highest dependencies)'
- context: 'Unit tests (PHP 8.5, Ubuntu & highest dependencies) / Run tests'
integration_id: 15368
- context: 'Tests (PHP 8.5, Windows & highest dependencies)'
- context: 'Unit tests (PHP 8.5, Ubuntu & lowest dependencies) / Run tests'
integration_id: 15368
- context: 'Tests (E2E)'
- context: 'Unit tests (PHP 8.5, macOS & highest dependencies) / Run tests'
integration_id: 15368
- context: 'Test coverage'
- context: 'Unit tests (PHP 8.5, Windows & highest dependencies) / Run tests'
integration_id: 15368
- context: 'E2E tests / Run tests'
integration_id: 15368
- context: 'Test coverage / Collect test coverage'
integration_id: 15368
bypass_actors:
- actor_id: 5
Expand Down
60 changes: 0 additions & 60 deletions .github/workflows/cgl.yaml

This file was deleted.

77 changes: 77 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: CI

on:
push:
branches:
- '**'
pull_request:
branches:
- main

permissions:
contents: read

jobs:
prepare:
name: 'Prepare workflow'
uses: eliashaeussler/gha/.github/workflows/preparation.yaml@b4023b28e2974ed4e7ec3ce4b9a4503c98369b3c # 0.1.1

checks:
name: 'Checks'

needs: [prepare]
if: ${{ needs.prepare.outputs.continue == 'true' }}

permissions:
security-events: write

uses: eliashaeussler/gha/.github/workflows/checks.yaml@b4023b28e2974ed4e7ec3ce4b9a4503c98369b3c # 0.1.1
with:
# We use the minimum supported PHP version
php-version: 8.2 # renovate-ignore
npm: true

unit-tests:
name: 'Unit tests (PHP ${{ matrix.php-version }}, ${{ matrix.os }} & ${{ matrix.dependencies }} dependencies)'

needs: [prepare]
if: ${{ needs.prepare.outputs.continue == 'true' }}

strategy:
fail-fast: false
matrix:
php-version: ["8.2", "8.3", "8.4", "8.5"]
dependencies: ["highest", "lowest"]
os: ["Ubuntu"]
include:
- php-version: "8.5"
dependencies: "highest"
os: "macOS"
- php-version: "8.5"
dependencies: "highest"
os: "Windows"

uses: eliashaeussler/gha/.github/workflows/composer-tests.yaml@b4023b28e2974ed4e7ec3ce4b9a4503c98369b3c # 0.1.1
with:
php-version: ${{ matrix.php-version }}
dependencies: ${{ matrix.dependencies }}
os: ${{ matrix.os }}
command: 'test:unit'

e2e-tests:
name: 'E2E tests'

needs: [prepare]
if: ${{ needs.prepare.outputs.continue == 'true' }}

uses: eliashaeussler/gha/.github/workflows/composer-tests.yaml@b4023b28e2974ed4e7ec3ce4b9a4503c98369b3c # 0.1.1
with:
command: 'test:e2e'

test-coverage:
name: 'Test coverage'

needs: [prepare]
if: ${{ needs.prepare.outputs.continue == 'true' }}

uses: eliashaeussler/gha/.github/workflows/composer-test-coverage.yaml@b4023b28e2974ed4e7ec3ce4b9a4503c98369b3c # 0.1.1
Loading
Loading