-
Notifications
You must be signed in to change notification settings - Fork 61
44 lines (38 loc) · 1.09 KB
/
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
40
41
42
43
44
name: Windows (latest)
on: [push]
permissions:
contents: read
jobs:
interactive-kvasir: # from interactive-kvasir.yml
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v3
with:
python-version: "3.8"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Interactive API - pytorch_kvasir_unet
run: |
pip install torch==1.13.1
pip install torchvision==0.14.1
python -m test.unittest.test_algorithms
cli: # from taskrunner.yml
needs: [interactive-kvasir]
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v3
with:
python-version: "3.8"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test TaskRunner API
run: |
python -m test.unittest.test_algorithms