forked from python/mypy
-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (46 loc) · 1.09 KB
/
test.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
45
46
47
48
49
name: main
on:
push:
branches: [master]
tags: ['*']
pull_request:
paths-ignore:
- 'docs/**'
- '**/*.rst'
- '**/*.md'
- .gitignore
- .travis.yml
- CREDITS
- LICENSE
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
name: [windows-py37-32, windows-py37-64]
include:
- name: windows-py37-32
python: '3.7'
arch: x86
os: windows-latest
toxenv: py37
- name: windows-py37-64
python: '3.7'
arch: x64
os: windows-latest
toxenv: py37
steps:
- uses: actions/checkout@v1
- name: initialize submodules
run: git submodule update --init
- uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python }}
architecture: ${{ matrix.arch }}
- name: install tox
run: pip install --upgrade setuptools 'virtualenv<20' tox==3.9.0
- name: setup tox environment
run: tox -e ${{ matrix.toxenv }} --notest
- name: test
run: tox -e ${{ matrix.toxenv }}