Skip to content

Commit b86ded2

Browse files
SCANPY-220 Added temporary push trigger to test Slack notification.
1 parent 42f2921 commit b86ded2

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/MacOsNightly.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: macOS Nightly Build
22

33
on:
4+
# TODO: Remove this trigger before merging
5+
push:
6+
branches:
7+
- MJ/SCANPY-220
48
schedule:
59
# Run at 3:00 AM UTC every day (5:00 AM CEST / 4:00 AM CET)
610
- cron: "0 3 * * *"
@@ -49,7 +53,8 @@ jobs:
4953
run: poetry run pytest tests/
5054

5155
- name: "[Debug] Force failure to test Slack notification"
52-
if: ${{ inputs.test_failure_notification }}
56+
# TODO: Remove 'push' condition before merging
57+
if: ${{ inputs.test_failure_notification || github.event_name == 'push' }}
5358
run: exit 1
5459

5560
its-macos:
@@ -98,7 +103,8 @@ jobs:
98103
id-token: write
99104
contents: read
100105
needs: [qa-macos, its-macos]
101-
if: failure() && (github.event_name == 'schedule' || inputs.test_failure_notification)
106+
# TODO: Remove 'push' condition before merging
107+
if: failure() && (github.event_name == 'schedule' || github.event_name == 'push' || inputs.test_failure_notification)
102108
steps:
103109
- name: Write failure summary
104110
run: |

0 commit comments

Comments
 (0)