From dd5b7270498c7bf36dac3f853b87e3528b7cdf2c Mon Sep 17 00:00:00 2001 From: Ahmet Nihat Simsek Date: Fri, 10 Jan 2025 12:54:43 +0100 Subject: [PATCH] fix tests on push --- .github/workflows/test-tutorials.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-tutorials.yml b/.github/workflows/test-tutorials.yml index e8d3cf3..0db8675 100644 --- a/.github/workflows/test-tutorials.yml +++ b/.github/workflows/test-tutorials.yml @@ -22,10 +22,16 @@ jobs: with: python-version: '3.10' + - name: Set siibra-python branch + id: set_branch + run: | + INPUT=${{ github.event.inputs.siibra_python_branch }} + echo "::set-output name=value::${INPUT:-"main"}" + - name: Install dependencies run: | python -m pip install --upgrade pip - pip install git+https://github.com/FZJ-INM1-BDA/siibra-python.git@${{ inputs.siibra_python_branch }} + pip install git+https://github.com/FZJ-INM1-BDA/siibra-python.git@${{ steps.set_branch.outputs.value}} pip install siibra_jugex pip install matplotlib pip install pytest nbmake