File tree Expand file tree Collapse file tree 2 files changed +50
-1
lines changed Expand file tree Collapse file tree 2 files changed +50
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : main
2
+
3
+ on :
4
+ push :
5
+ branches : [master]
6
+ tags : ['*']
7
+ pull_request :
8
+ paths-ignore :
9
+ - ' docs/**'
10
+ - ' **/*.rst'
11
+ - ' **/*.md'
12
+ - .gitignore
13
+ - .travis.yml
14
+ - CREDITS
15
+ - LICENSE
16
+
17
+ jobs :
18
+ build :
19
+ runs-on : ${{ matrix.os }}
20
+ strategy :
21
+ fail-fast : false
22
+ matrix :
23
+ name : [windows-py37-32, windows-py37-64]
24
+ include :
25
+ - name : windows-py37-32
26
+ python : ' 3.7'
27
+ arch : x86
28
+ os : windows-latest
29
+ toxenv : py37
30
+ - name : windows-py37-64
31
+ python : ' 3.7'
32
+ arch : x64
33
+ os : windows-latest
34
+ toxenv : py37
35
+
36
+ steps :
37
+ - uses : actions/checkout@v1
38
+ - name : initialize submodules
39
+ run : git submodule update --init
40
+ - uses : actions/setup-python@v1
41
+ with :
42
+ python-version : ${{ matrix.python }}
43
+ architecture : ${{ matrix.arch }}
44
+ - name : install tox
45
+ run : pip install --upgrade setuptools tox==3.9.0
46
+ - name : setup tox environment
47
+ run : tox -e ${{ matrix.toxenv }} --notest
48
+ - name : test
49
+ run : tox -e ${{ matrix.toxenv }}
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ isolated_build = true
13
13
[testenv]
14
14
description = run the test driver with {basepython}
15
15
setenv = cov: COVERAGE_FILE ={toxworkdir}/.coverage.{envname}
16
- passenv = PYTEST_XDIST_WORKER_COUNT
16
+ passenv = PYTEST_XDIST_WORKER_COUNT PROGRAMDATA PROGRAMFILES(X86)
17
17
deps = -rtest-requirements.txt
18
18
commands = python -m pytest {posargs}
19
19
cov: python -m pytest {posargs: --cov mypy --cov-config setup.cfg}
You can’t perform that action at this time.
0 commit comments