-
Notifications
You must be signed in to change notification settings - Fork 10
50 lines (42 loc) · 1.16 KB
/
windows-tests.yml
File metadata and controls
50 lines (42 loc) · 1.16 KB
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
40
41
42
43
44
45
46
47
48
49
50
name: Windows tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: "Python 3.9 on ${{ matrix.os }}"
if: "!contains(github.event.head_commit.message, 'skip ci')"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["windows-latest"]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install MSVC / Visual C++
uses: ilammy/msvc-dev-cmd@v1
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: 3.9
- name: Install build dependencies
run: |
choco install pandoc --no-progress
conda create -n thejoker python=3.9 -q
conda activate thejoker
conda install mkl-service libpython m2w64-toolchain hdf5 -q -y
- name: Install thejoker and test dependencies
run: |
conda activate thejoker
conda install -c conda-forge pytables==3.6.1
python -m pip install -e ".[test]"
- name: Run tests
run: |
conda activate thejoker
pytest thejoker