Skip to content

Commit

Permalink
ci(workflow): upload test results daily (vercel#3926)
Browse files Browse the repository at this point in the history
This PR moves uploading test results data to the daily cron workflow,
and removes per-main-checkin test execution until we reduce number of
failing test to consistently check regressions per each changes.
  • Loading branch information
kwonoj authored Feb 23, 2023
1 parent cec6c56 commit 2b1e70e
Showing 2 changed files with 13 additions and 23 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/daily-nextjs-integration-test.yml
Original file line number Diff line number Diff line change
@@ -6,6 +6,10 @@ on:
schedule:
- cron: "0 8 * * *"
workflow_dispatch:
inputs:
force_post_to_slack:
description: Post test results to Slack
type: boolean

jobs:
# Trigger actual next.js integration tests.
@@ -16,7 +20,15 @@ jobs:
uses: ./.github/workflows/nextjs-integration-test.yml
with:
diff_base: "none"
force_post_to_slack: true
force_post_to_slack: ${{ inputs.force_post_to_slack || false }}

# Upload test results to branch.
upload_test_results:
name: Upload test results
needs: [next_js_integration]
uses: ./.github/workflows/upload-nextjs-integration-test-results.yml
with:
is_main_branch: true

post_to_slack:
needs: [next_js_integration]
22 changes: 0 additions & 22 deletions .github/workflows/on-default-branch-update.yml

This file was deleted.

0 comments on commit 2b1e70e

Please sign in to comment.