From c290343a3e1999c51d6b92f1ce25f73d2c312880 Mon Sep 17 00:00:00 2001 From: Connor Ward Date: Tue, 18 Nov 2025 19:42:14 +0000 Subject: [PATCH] Use a different branch for Gusto tests on main and release --- .github/workflows/core.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/core.yml b/.github/workflows/core.yml index 6b6534121e..6f5a4ac336 100644 --- a/.github/workflows/core.yml +++ b/.github/workflows/core.yml @@ -319,7 +319,12 @@ jobs: matrix.arch == 'default' run: | . venv/bin/activate - git clone --depth 1 https://github.com/firedrakeproject/gusto.git gusto-repo + if [ ${{ inputs.target_branch }} = 'release' ]; then + GUSTO_BRANCH='main' + else + GUSTO_BRANCH='future' + fi + git clone --depth 1 https://github.com/firedrakeproject/gusto.git gusto-repo --branch $GUSTO_BRANCH pip install --verbose ./gusto-repo python -m pytest -n 8 --verbose \ gusto-repo/integration-tests/balance/test_saturated_balance.py \