From a944c6e20eb474877fb8bf902a3b729f48e367f0 Mon Sep 17 00:00:00 2001 From: William Schueller Date: Fri, 24 Nov 2023 15:29:22 +0100 Subject: [PATCH] test github actions with branch as var name --- .github/workflows/python-app.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-app.yaml b/.github/workflows/python-app.yaml index 1e32d05..3190130 100644 --- a/.github/workflows/python-app.yaml +++ b/.github/workflows/python-app.yaml @@ -62,7 +62,7 @@ jobs: run: | python -m pip install --upgrade pip pip install flake8 pytest - pip install -e git+https://github.com/wschuell/db_fillers.git@main#egg=db_fillers + pip install -e git+https://github.com/wschuell/db_fillers.git@$GITHUB_HEAD_REF#egg=db_fillers || pip install -e git+https://github.com/wschuell/db_fillers.git@main#egg=db_fillers if [ -f requirements.txt ]; then pip install -r requirements.txt; fi sudo apt-get install -y libsqlite3-dev pip install codecov pytest-cov