Find artifact on Windows
@@ -27,10 +27,12 @@ jobs:
run: pip install build
- name: Build packages
run: python -m build --${{ matrix.format }}
- - name: Install dependencies
- run: pip install -r requirements.txt
- - name: Install rsatoolbox
- run: pip install --no-cache-dir --no-index -f dist/ rsatoolbox
+ - name: Install rsatoolbox (Linux, Mac)
+ run: pip install dist/*
+ if: matrix.os != 'windows-latest'
+ - name: Install rsatoolbox (Windows)
+ run: Get-ChildItem dist -Name | pip install
+ if: matrix.os == 'windows-latest'
- name: Install test dependencies
run: pip install -r tests/requirements.txt
- name: Unit tests
