File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -27,11 +27,15 @@ jobs:
27
27
tools/lint --skip=gitlint
28
28
29
29
test :
30
- runs-on : ubuntu-latest
30
+ runs-on : ${{ matrix.os }}
31
31
strategy :
32
32
fail-fast : false
33
33
matrix :
34
+ os : [ubuntu-latest, windows-latest]
34
35
python-version : [3.6, 3.7, 3.8, 3.9]
36
+ exclude :
37
+ - os : windows-latest
38
+ python-version : 3.6 # cryptography install fails on Windows with python 3.6 since pip is quite old.
35
39
36
40
steps :
37
41
- uses : actions/checkout@v2
@@ -42,12 +46,19 @@ jobs:
42
46
python-version : ${{ matrix.python-version }}
43
47
44
48
- name : Install dependencies
45
- run : tools/provision --force
49
+ run : python tools/provision --force
46
50
47
- - name : Running Test-Suite
51
+ - if : runner.os == 'Linux'
52
+ name : Running Test-Suite on Linux
48
53
run : |
49
54
source zulip-api-py3-venv/bin/activate
50
55
tools/test-main
51
56
57
+ - if : runner.os == 'Windows'
58
+ name : Running Test-Suite on Windows
59
+ run : |
60
+ zulip-api-py3-venv\Scripts\Activate.ps1
61
+ tools\test-main.ps1
62
+
52
63
- name : Codecov
53
64
uses : codecov/codecov-action@v1.2.1
You can’t perform that action at this time.
0 commit comments