Skip to content

Commit 20d48c7

Browse files
authored
Dispatch nightly workflow for push-to-main integration tests (#5805)
Reverts #5644, which had pointed push-to-main at the PR workflow to avoid the full CloudSlow suite timing out. That's no longer needed: the nightly workflow now differentiates between `integration` (full, on schedule) and `integration-short` (on workflow_dispatch). This pull request and its description were written by Isaac.
1 parent 5217c77 commit 20d48c7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/push.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -551,15 +551,15 @@ jobs:
551551
-f pull_request_number=${{ github.event.pull_request.number }} \
552552
-f commit_sha=${{ github.event.pull_request.head.sha }}
553553
554-
# Use the PR workflow (which runs in short mode) so commits to main do not
555-
# trigger the slow CloudSlow integration tests. Those run only on the
556-
# nightly schedule (and on workflow-file changes), not on every commit.
554+
# Dispatch the nightly workflow; as a workflow_dispatch event it runs
555+
# integration-short (CloudSlow still skips via -short, but locally-covered
556+
# tests run against real clouds, unlike the PR task's skiplocal variant).
557557
- name: Trigger integration tests (push to main)
558558
if: ${{ github.event_name == 'push' }}
559559
env:
560560
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
561561
run: |-
562-
gh workflow run cli-isolated-pr.yml -R ${{ secrets.ORG_NAME }}/${{ secrets.REPO_NAME }} \
562+
gh workflow run cli-isolated-nightly.yml -R ${{ secrets.ORG_NAME }}/${{ secrets.REPO_NAME }} \
563563
--ref main \
564564
-f commit_sha=${{ github.event.after }}
565565

0 commit comments

Comments
 (0)