blob: 1731230c1ce1c9b7313b80490729a06978a4f9ce [file] [log] [blame]
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@v2
with:
submodules: true
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
architecture: ${{ matrix.arch }}
- name: install tox
run: pip install --upgrade 'setuptools!=50' 'virtualenv<20' tox==3.20.1
- name: setup tox environment
run: tox -e ${{ matrix.toxenv }} --notest
- name: test
run: tox -e ${{ matrix.toxenv }} --skip-pkg-install