-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (31 loc) · 943 Bytes
/
ci-windows.yml
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
37
38
39
name: Windows-CI
on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up miniconda
uses: conda-incubator/[email protected]
with:
channels: conda-forge
python-version: ${{ matrix.python-version }}
- name: Set up Conda environment
shell: "bash -l {0}"
run: >
conda create --name "viprs_ci" -c conda-forge -c anaconda
python=${{matrix.python-version}} pip wheel compilers openblas -y
- name: Install viprs
shell: "bash -l {0}"
run: |
conda activate viprs_ci
python -m pip install -v -e .[test]
- name: Run tests
shell: "bash -l {0}"
run: |
conda activate viprs_ci
pytest -v