Skip to content

Commit 7aeb6ac

Browse files
committed
Use custom branch for OFM test
This will look for a branch called `v3-labthings-branch` and fall back to `v3-labthings-main` then `v3` if it doesn't exist. I've added a line to print the branch that's actually checked out.
1 parent 90c0a60 commit 7aeb6ac

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,9 @@ jobs:
178178
run: |
179179
git clone https://gitlab.com/openflexure/openflexure-microscope-server.git
180180
cd openflexure-microscope-server
181-
git checkout v3
181+
git checkout v3-labthings-${{ github.head_ref }} || git checkout v3-labthings-main || git checkout v3
182+
git rev-parse --abbrev-ref HEAD
183+
git rev-parse HEAD
182184
pip install -e .[dev]
183185
184186
- name: Install LabThings-FastAPI

0 commit comments

Comments
 (0)