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
11 changes: 11 additions & 0 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,14 @@ jobs:
run: bin/console cache:warmup --env=prod --no-optional-warmers
- name: Warm up the prod cache
run: bin/console cache:warmup --env=prod

# Single check to require in the branch protection of main: its name does not depend on the matrix
quality-passed:
name: Quality passed
if: always()
needs: [phpstan, php-cs-fixer, rector, lint]
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Check the result of the jobs
run: test "${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'skipped') }}" = false
11 changes: 11 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,14 @@ jobs:
# uses: codecov/codecov-action@v4
# with:
# files: build/logs/clover.xml

# Single check to require in the branch protection of main: its name does not depend on the matrix
tests-passed:
name: Tests passed
if: always()
needs: [test]
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Check the result of the jobs
run: test "${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'skipped') }}" = false
Loading