Skip to content

Commit 82223d8

Browse files
SCANPY-220 Removed temporary push trigger, and also the option to manually trigger the Slack notification.
1 parent a0fd352 commit 82223d8

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

.github/workflows/MacOsNightly.yml

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

33
on:
4-
# TODO: Remove this trigger before merging
5-
push:
6-
branches:
7-
- MJ/SCANPY-220
84
schedule:
95
# Run at 3:00 AM UTC every day (5:00 AM CEST / 4:00 AM CET)
106
- cron: "0 3 * * *"
@@ -15,11 +11,6 @@ on:
1511
required: false
1612
default: false
1713
type: boolean
18-
test_failure_notification:
19-
description: "Force a failure to test the Slack notification"
20-
required: false
21-
default: false
22-
type: boolean
2314

2415
# Only allow one instance of this workflow to run at a time
2516
concurrency:
@@ -52,11 +43,6 @@ jobs:
5243
- name: Execute the test suite
5344
run: poetry run pytest tests/
5445

55-
- name: "[Debug] Force failure to test Slack notification"
56-
# TODO: Remove 'push' condition before merging
57-
if: ${{ inputs.test_failure_notification || github.event_name == 'push' }}
58-
run: exit 1
59-
6046
its-macos:
6147
name: "macOS Integration Tests"
6248
runs-on: macos-latest-xlarge
@@ -103,8 +89,7 @@ jobs:
10389
id-token: write
10490
contents: read
10591
needs: [qa-macos, its-macos]
106-
# TODO: Remove 'push' condition before merging
107-
if: failure() && (github.event_name == 'schedule' || github.event_name == 'push' || inputs.test_failure_notification)
92+
if: failure() && github.event_name == 'schedule'
10893
steps:
10994
- name: Write failure summary
11095
run: |

0 commit comments

Comments
 (0)