Skip to content

Commit

Permalink
tox: Stop encoding python version in tox envs
Browse files Browse the repository at this point in the history
This does not seem useful: the CI workflow already picks the python
version specifically.

Signed-off-by: Jussi Kukkonen <jkukkonen@google.com>
  • Loading branch information
jku committed Oct 14, 2024
1 parent 605eac3 commit daf04fe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ jobs:
toxenv: py
- python-version: "3.13"
os: ubuntu-latest
toxenv: purepy311
toxenv: purepy
- python-version: "3.13"
os: ubuntu-latest
toxenv: py311-no-gpg
toxenv: py-no-gpg
- python-version: "3.13"
os: ubuntu-latest
toxenv: py311-test-gpg-fails
toxenv: py-test-gpg-fails
- python-version: "3.13"
os: ubuntu-latest
toxenv: lint
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

[tox]
envlist = lint, py38, py39, py310, py311, purepy311, py311-no-gpg, py311-test-gpg-fails
envlist = lint, py, purepy, py-no-gpg, py-test-gpg-fails
skipsdist = True

[testenv]
Expand All @@ -23,14 +23,14 @@ commands =
coverage run tests/aggregate_tests.py
coverage report -m --fail-under 70

[testenv:purepy311]
[testenv:purepy]
deps =

commands =
python -m tests.check_gpg_available
python -m tests.check_public_interfaces

[testenv:py311-no-gpg]
[testenv:py-no-gpg]
setenv =
GNUPG = nonexisting-gpg-for-testing
commands =
Expand All @@ -53,7 +53,7 @@ commands =
python -m tests.check_sigstore_signer

# Check that importing securesystemslib._gpg.constants doesn't shell out.
[testenv:py311-test-gpg-fails]
[testenv:py-test-gpg-fails]
setenv =
GNUPG = false
commands =
Expand Down

0 comments on commit daf04fe

Please sign in to comment.