Skip to content

Commit

Permalink
Use poetry agnostic venv
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanJField committed Oct 7, 2024
1 parent f0ef370 commit c27ac7e
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/test-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit c27ac7e

Please sign in to comment.