From c27ac7e21a1feb6e322ac767280d908b7717486b Mon Sep 17 00:00:00 2001 From: Ryan J Field Date: Mon, 7 Oct 2024 18:07:47 +0100 Subject: [PATCH] Use poetry agnostic venv --- .github/workflows/test-build.yaml | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/.github/workflows/test-build.yaml b/.github/workflows/test-build.yaml index 54b70fa7..d8eacde6 100644 --- a/.github/workflows/test-build.yaml +++ b/.github/workflows/test-build.yaml @@ -54,28 +54,16 @@ jobs: virtualenvs-create: true virtualenvs-in-project: true - - name: Install and initialise FAIR CLI on Mac / Ubuntu + - name: Install and initialise FAIR CLI run: | cd ../FAIR-CLI poetry install - source .venv/bin/activate + source $VENV cd ${{ github.workspace }} fair registry install --version main fair init --ci fair registry start - if: runner.os != 'Windows' - - - name: Install and initialise FAIR CLI on windows - run: | - cd ../FAIR-CLI - poetry install - .venv/bin/activate.bat - cd ${{ github.workspace }} - fair registry install --version main - fair init --ci - fair registry start - if: runner.os == 'Windows' - shell: cmd + shell: bash - name: Install R API system requirements (macOS-latest) if: runner.os == 'macOS'