mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
Enabled test suite for 4.0 branch
no issue - we'd like to run the tests on the new 4.0 branch, so this commit add it to the trigger list and allows Slack notifications for failures
This commit is contained in:
parent
a059ace335
commit
48ffdce2c3
7
ghost/admin/.github/workflows/test.yml
vendored
7
ghost/admin/.github/workflows/test.yml
vendored
@ -4,6 +4,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- '4.0'
|
||||
- 'renovate/*'
|
||||
jobs:
|
||||
prod-build:
|
||||
@ -20,7 +21,7 @@ jobs:
|
||||
- run: grunt shell:ember:prod
|
||||
|
||||
- uses: daniellockyer/action-slack-build@master
|
||||
if: failure() && github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||
if: failure() && github.event_name == 'push' && (github.ref == 'refs/heads/4.0' || github.ref == 'refs/heads/master')
|
||||
with:
|
||||
status: ${{ job.status }}
|
||||
env:
|
||||
@ -39,7 +40,7 @@ jobs:
|
||||
- run: yarn lint:js
|
||||
|
||||
- uses: daniellockyer/action-slack-build@master
|
||||
if: failure() && github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||
if: failure() && github.event_name == 'push' && (github.ref == 'refs/heads/4.0' || github.ref == 'refs/heads/master')
|
||||
with:
|
||||
status: ${{ job.status }}
|
||||
env:
|
||||
@ -67,7 +68,7 @@ jobs:
|
||||
BROWSER: ${{ matrix.browser }}
|
||||
|
||||
- uses: daniellockyer/action-slack-build@master
|
||||
if: failure() && github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||
if: failure() && github.event_name == 'push' && (github.ref == 'refs/heads/4.0' || github.ref == 'refs/heads/master')
|
||||
with:
|
||||
status: ${{ job.status }}
|
||||
env:
|
||||
|
Loading…
Reference in New Issue
Block a user