-
-
Notifications
You must be signed in to change notification settings - Fork 20
36 lines (32 loc) · 929 Bytes
/
windows.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: windows
on:
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
required: false
default: false
jobs:
GetDcm2niix:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]
python: ['3.8', '3.9', '3.10']
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Set up python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: |
cd pypet2bids
pip3 install .
- name: Use CLI to set path to dcm2niix
run: |
cd pypet2bids
python dcm2niix4pet.py --set-dcm2niix-path