diff options
author | Steve Piercy <web@stevepiercy.com> | 2020-11-13 00:08:13 -0800 |
---|---|---|
committer | Steve Piercy <web@stevepiercy.com> | 2020-11-13 00:08:13 -0800 |
commit | ec385af30ec7e89bd45bd8276cafda16258c4701 (patch) | |
tree | c1749790f19509d190f6a6691de7704d82a42fca | |
parent | ff497aa8994c62c45c3a404fa42e95c778afe230 (diff) | |
download | webtest-ec385af30ec7e89bd45bd8276cafda16258c4701.tar.gz |
Attempt Windows builds by running coverage via pytest
-rw-r--r-- | .github/workflows/ci-tests.yml | 6 | ||||
-rw-r--r-- | setup.cfg | 1 | ||||
-rw-r--r-- | tox.ini | 2 |
3 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 0e146c0..0d754fd 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -20,8 +20,14 @@ jobs: - "3.9" os: - "ubuntu-latest" + - "windows-latest" architecture: - x64 + - x86 + exclude: + # Linux and macOS don't have x86 python + - os: "ubuntu-latest" + architecture: x86 name: "Python: ${{ matrix.py }}-${{ matrix.architecture }} on ${{ matrix.os }}" runs-on: ${{ matrix.os }} @@ -26,4 +26,5 @@ addopts = -p no:warnings --ignore=bootstrap.py --ignore=examples/ --ignore=docs/conf.py + --cov -W always doctest_optionflags= NORMALIZE_WHITESPACE ELLIPSIS @@ -15,7 +15,7 @@ extras = commands = python --version pip freeze - coverage run {envbindir}/pytest -xv [] + pytest --cov {posargs:} coverage report --show-missing [testenv:coverage] |