Skip to content

Commit afe6bcf

Browse files
authored
Use a different branch for Gusto tests on main and release (#4730)
1 parent 40b9255 commit afe6bcf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/core.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,12 @@ jobs:
319319
matrix.arch == 'default'
320320
run: |
321321
. venv/bin/activate
322-
git clone --depth 1 https://github.com/firedrakeproject/gusto.git gusto-repo
322+
if [ ${{ inputs.target_branch }} = 'release' ]; then
323+
GUSTO_BRANCH='main'
324+
else
325+
GUSTO_BRANCH='future'
326+
fi
327+
git clone --depth 1 https://github.com/firedrakeproject/gusto.git gusto-repo --branch $GUSTO_BRANCH
323328
pip install --verbose ./gusto-repo
324329
python -m pytest -n 8 --verbose \
325330
gusto-repo/integration-tests/balance/test_saturated_balance.py \

0 commit comments

Comments
 (0)