Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify tox configuration #573

Merged
merged 1 commit into from
Dec 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ jobs:

- name: "Run tox targets for ${{ matrix.python-version }}"
run: "python -m tox"
env:
PLATFORM: ${{ matrix.platform }}

# We always use a modern Python version for combining coverage to prevent
# parsing errors in older versions for modern code.
Expand Down
11 changes: 2 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,11 @@ python =
3.9: py39


[gh-actions:env]
PLATFORM =
ubuntu-latest: linux
windows-latest: windows


[tox]
envlist =
lint
typing
py{36,37,38,39}-crypto-{linux,windows}
py{36,37,38,39}-nocrypto-{linux,windows}
py{36,37,38,39}-{crypto,nocrypto}
docs
pypi-description
coverage-report
Expand All @@ -39,7 +32,7 @@ setenv =
VIRTUALENV_NO_DOWNLOAD=1
extras =
tests
py{36,37,38,39}-crypto-{linux,windows}: crypto
crypto: crypto
commands = {envpython} -b -m coverage run -m pytest {posargs}


Expand Down