From b0cf1f25dbadc88366e688eb02dc3779d0c4ceef Mon Sep 17 00:00:00 2001 From: Kara Woo Date: Fri, 6 Mar 2026 14:03:03 -0800 Subject: [PATCH 1/3] run integration tests nightly --- .github/workflows/integration-tests.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/integration-tests.yaml b/.github/workflows/integration-tests.yaml index 85d8519e1..3108dc6dd 100644 --- a/.github/workflows/integration-tests.yaml +++ b/.github/workflows/integration-tests.yaml @@ -5,6 +5,8 @@ on: pull_request: branches: - main + schedule: + - cron: "0 8 * * *" # daily at 8am UTC name: integration-tests @@ -56,3 +58,21 @@ jobs: license: ${{ secrets.CONNECT_LICENSE_FILE }} command: | Rscript -e 'source("tests/test-integrated.R")' + + slack-notification: + needs: integration-tests + if: ${{ failure() && github.event_name == 'schedule' }} + runs-on: ubuntu-latest + steps: + - name: Notify Slack of CI failure + uses: slackapi/slack-github-action@v2.1.1 + with: + webhook: ${{ secrets.SLACK_WEBHOOK }} + webhook-type: incoming-webhook + payload: | + text: ":x: CI failed on ${{ github.ref_name }}" + blocks: + - type: section + text: + type: mrkdwn + text: ":x: connectapi integration tests failed: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" From d8d60e4351d05d4e44e9e5e4b9ae70117ffca4ce Mon Sep 17 00:00:00 2001 From: Kara Woo Date: Fri, 6 Mar 2026 14:10:23 -0800 Subject: [PATCH 2/3] update message --- .github/workflows/integration-tests.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration-tests.yaml b/.github/workflows/integration-tests.yaml index 3108dc6dd..3f96ec53d 100644 --- a/.github/workflows/integration-tests.yaml +++ b/.github/workflows/integration-tests.yaml @@ -70,9 +70,9 @@ jobs: webhook: ${{ secrets.SLACK_WEBHOOK }} webhook-type: incoming-webhook payload: | - text: ":x: CI failed on ${{ github.ref_name }}" + text: ":x: connectapi nightly integration tests failed" blocks: - type: section text: type: mrkdwn - text: ":x: connectapi integration tests failed: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" + text: "View run: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" From 83b115bb9e12eb4768d78d56839e1825c16213e3 Mon Sep 17 00:00:00 2001 From: Kara Woo Date: Fri, 6 Mar 2026 15:26:19 -0800 Subject: [PATCH 3/3] weekly --- .github/workflows/integration-tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration-tests.yaml b/.github/workflows/integration-tests.yaml index 3f96ec53d..2cdd4e4cc 100644 --- a/.github/workflows/integration-tests.yaml +++ b/.github/workflows/integration-tests.yaml @@ -6,7 +6,7 @@ on: branches: - main schedule: - - cron: "0 8 * * *" # daily at 8am UTC + - cron: "0 8 * * 1" # every monday at 8am UTC name: integration-tests