Skip to content

Nightly Build

Nightly Build #47

Workflow file for this run

name: Nightly Build
on:
schedule:
# Runs at 00:00 UTC every day
# This is a comprehensive nightly build including:
# - All unit tests (Fast + Slow)
# - Integration tests
# - Docker image building
# - Python SDK tests
# Note: E2E tests run separately in cli-e2e-tests.yml (manual only)
- cron: '0 0 * * *'
# Allow manual workflow runs
workflow_dispatch:
env:
JAVA_VERSION: '17'
MAVEN_OPTS: '-Xmx3g -XX:+UseG1GC'
jobs:
ci-build:
runs-on: ubuntu-latest
outputs:
test_results: ${{ steps.tests.outputs.test_status }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Environment
id: setup
uses: ./.github/actions/setup-environment
with:
java_version: ${{ env.JAVA_VERSION }}
- name: Maven Build
id: build
uses: ./.github/actions/maven-build
with:
skip_tests: 'true'
timeout_minutes: '25'
- name: Run All Unit Tests
id: tests
uses: ./.github/actions/run-tests
with:
timeout_minutes: '45'
report_name: 'nightly-test-reports'
nightly-summary:
runs-on: ubuntu-latest
needs: ci-build
if: always()
permissions: {}
steps:
- name: Nightly Build Summary
run: |
echo "## Nightly Build Summary" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "| Step | Status |" >> $GITHUB_STEP_SUMMARY
echo "|------|--------|" >> $GITHUB_STEP_SUMMARY
echo "| Build | ${{ needs.ci-build.result }} |" >> $GITHUB_STEP_SUMMARY
echo "| Test Results | ${{ needs.ci-build.outputs.test_results || 'skipped' }} |" >> $GITHUB_STEP_SUMMARY
echo "| Image Tag | ${{ needs.ci-build.outputs.image_tag || 'N/A' }} |" >> $GITHUB_STEP_SUMMARY