Skip to content

Commit

Permalink
Use batch for windows CI
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanJField committed Oct 7, 2024
1 parent 21cd1c8 commit f0ef370
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/test-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
virtualenvs-create: true
virtualenvs-in-project: true

- name: Install and initialise FAIR CLI
- name: Install and initialise FAIR CLI on Mac / Ubuntu
run: |
cd ../FAIR-CLI
poetry install
Expand All @@ -63,7 +63,19 @@ jobs:
fair registry install --version main
fair init --ci
fair registry start
shell: bash
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

- name: Install R API system requirements (macOS-latest)
if: runner.os == 'macOS'
Expand Down

0 comments on commit f0ef370

Please sign in to comment.