-
Notifications
You must be signed in to change notification settings - Fork 26
42 lines (38 loc) · 963 Bytes
/
windows.yml
File metadata and controls
42 lines (38 loc) · 963 Bytes
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
name: windows
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: "0 4 * * *"
jobs:
test_win:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 4
matrix:
os: [windows-latest]
python-version: [3.6]
steps:
- uses: actions/checkout@v1
- uses: goanpeca/setup-miniconda@v1
with:
miniconda-version: 'latest'
auto-activate-base: true
python-version: ${{ matrix.python-version }}
- name: Install dependencies
shell: pwsh
run: |
conda install pytorch>=1.0.0 -q
pip install -e .[develop] --progress-bar off
pip install sphinx==2.4.4
pip install m2r
git config --global credential.interactive never
git config --global credential.modalprompt false
- name: Test with pytest
shell: cmd /C CALL {0}
run: >-
set GIT_TERMINAL_PROMPT=0&&pytest tests