From c87ba1e58784aa2e5be941a5af79e2bc8e24d7b6 Mon Sep 17 00:00:00 2001 From: Mike Kruskal Date: Fri, 13 Sep 2024 16:16:47 -0700 Subject: [PATCH] Add daily continuous runs of all our supported release branches PiperOrigin-RevId: 674469632 --- .github/workflows/staleness_check.yml | 1 + .github/workflows/test_release_branches.yml | 25 +++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 .github/workflows/test_release_branches.yml diff --git a/.github/workflows/staleness_check.yml b/.github/workflows/staleness_check.yml index de40b0d4ae..daf5aacdef 100644 --- a/.github/workflows/staleness_check.yml +++ b/.github/workflows/staleness_check.yml @@ -23,6 +23,7 @@ jobs: strategy: fail-fast: false matrix: + # TODO Remove this parameterization once the release branch testing is stable. branch: [main, 25.x, 27.x, 28.x] os: [{ name: Linux, value: ubuntu-latest}] exclude: diff --git a/.github/workflows/test_release_branches.yml b/.github/workflows/test_release_branches.yml new file mode 100644 index 0000000000..f40b59dfe3 --- /dev/null +++ b/.github/workflows/test_release_branches.yml @@ -0,0 +1,25 @@ +name: Release Branch Tests + +on: + schedule: + # Run daily at 10 AM UTC (2 AM PDT) + - cron: 0 10 * * * + workflow_dispatch: + +permissions: {} + +jobs: + releases: + strategy: + fail-fast: false + matrix: + branch: [25.x, 27.x, 28.x] + runs-on: ubuntu-latest + permissions: + actions: write + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_REPO: ${{ github.repository }} + name: Run Tests on ${{ matrix.branch }} + steps: + - run: gh workflow run test_runner.yml --ref ${{ matrix.branch }}