minor #16981 [CI] Extract unstable build from full builds (GSadee)

This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A
|-----------------|-----
| Branch?         | 1.13
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | 
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
 - Features, removing deprecations and BC breaks must be submitted against the 2.0 branch
 - Make sure that the correct base branch is set

 To be sure you are not breaking any Backward Compatibilities, check the documentation:
 https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->


Commits
-------

454a21a7ba [CI] Extract unstable build from full builds
This commit is contained in:
Grzegorz Sadowski 2024-09-20 10:20:25 +02:00 committed by GitHub
commit ee8c7955a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 10 additions and 43 deletions

View file

@ -79,16 +79,10 @@ jobs:
with:
branch: ${{ matrix.branch }}
type: full
unstable:
name: Unstable
needs: static-checks
uses: ./.github/workflows/ci__unstable.yaml
with:
ignore-failure: false
notify-about-build-status:
if: ${{ always() }}
name: "Notify about build status"
needs: [static-checks, e2e-mariadb, e2e-mysql, e2e-pgsql, e2e-custom, packages, unstable]
needs: [static-checks, e2e-mariadb, e2e-mysql, e2e-pgsql, e2e-custom, packages]
runs-on: ubuntu-latest
timeout-minutes: 5
@ -117,7 +111,6 @@ jobs:
${{ needs.e2e-pgsql.result == 'success' && ':+1:' || ':x:' }} End-to-End (PostgreSQL)
${{ needs.e2e-custom.result == 'success' && ':+1:' || ':x:' }} End-to-End (Custom)
${{ needs.packages.result == 'success' && ':+1:' || ':x:' }} Packages
${{ needs.unstable.result == 'success' && ':+1:' || ':x:' }} Unstable
_ _ _ _ _ _ _
color: "danger"

View file

@ -79,16 +79,10 @@ jobs:
with:
branch: ${{ matrix.branch }}
type: full
unstable:
name: Unstable
needs: static-checks
uses: ./.github/workflows/ci__unstable.yaml
with:
ignore-failure: false
notify-about-build-status:
if: ${{ always() }}
name: "Notify about build status"
needs: [static-checks, e2e-mariadb, e2e-mysql, e2e-pgsql, e2e-custom, packages, unstable]
needs: [static-checks, e2e-mariadb, e2e-mysql, e2e-pgsql, e2e-custom, packages]
runs-on: ubuntu-latest
timeout-minutes: 5
@ -117,7 +111,6 @@ jobs:
${{ needs.e2e-pgsql.result == 'success' && ':+1:' || ':x:' }} End-to-End (PostgreSQL)
${{ needs.e2e-custom.result == 'success' && ':+1:' || ':x:' }} End-to-End (Custom)
${{ needs.packages.result == 'success' && ':+1:' || ':x:' }} Packages
${{ needs.unstable.result == 'success' && ':+1:' || ':x:' }} Unstable
_ _ _ _ _ _ _
color: "danger"

View file

@ -79,16 +79,10 @@ jobs:
with:
branch: ${{ matrix.branch }}
type: full
unstable:
name: Unstable
needs: static-checks
uses: ./.github/workflows/ci__unstable.yaml
with:
ignore-failure: false
notify-about-build-status:
if: ${{ always() }}
name: "Notify about build status"
needs: [static-checks, e2e-mariadb, e2e-mysql, e2e-pgsql, e2e-custom, packages, unstable]
needs: [static-checks, e2e-mariadb, e2e-mysql, e2e-pgsql, e2e-custom, packages]
runs-on: ubuntu-latest
timeout-minutes: 5
@ -117,7 +111,6 @@ jobs:
${{ needs.e2e-pgsql.result == 'success' && ':+1:' || ':x:' }} End-to-End (PostgreSQL)
${{ needs.e2e-custom.result == 'success' && ':+1:' || ':x:' }} End-to-End (Custom)
${{ needs.packages.result == 'success' && ':+1:' || ':x:' }} Packages
${{ needs.unstable.result == 'success' && ':+1:' || ':x:' }} Unstable
_ _ _ _ _ _ _
color: "danger"

View file

@ -1,19 +1,10 @@
name: Continuous Integration (Unstable)
on:
workflow_call:
inputs:
ignore-failure:
description: "Don't fail on error"
required: false
type: boolean
default: false
workflow_dispatch:
inputs:
ignore-failure:
description: "Don't fail on error"
type: boolean
default: false
schedule:
-
cron: "0 4 * * *" # Run every day at 4am
workflow_dispatch: ~
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}-unstable
@ -26,11 +17,8 @@ jobs:
e2e-unstable:
name: End-to-end tests (Unstable)
uses: ./.github/workflows/ci_e2e-unstable.yaml
with:
ignore-failure: ${{ inputs.ignore-failure }}
packages-unstable:
name: Packages (Unstable)
uses: ./.github/workflows/ci_packages-unstable.yaml
with:
type: minimal
ignore-failure: ${{ inputs.ignore-failure }}

View file

@ -22,9 +22,9 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ "8.1" ]
symfony: [ "^6.4" ]
mysql: [ "8.0" ]
php: ["8.2"]
symfony: ["^6.4"]
mysql: ["8.4"]
env:
APP_ENV: test_cached