Skip to content
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
18 changes: 9 additions & 9 deletions .github/workflows/tox-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Tox tests
on: [push, pull_request]

jobs:
py39:
py310:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -12,12 +12,12 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: '3.10'
- name: Install Tox
run: pip install tox
- name: Run Tox
run: tox -e py39
py310:
run: tox -e py310
py311:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -26,12 +26,12 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.11'
- name: Install Tox
run: pip install tox
- name: Run Tox
run: tox -e py310
py311:
run: tox -e py311
py312:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -40,11 +40,11 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '3.12'
- name: Install Tox
run: pip install tox
- name: Run Tox
run: tox -e py311
run: tox -e py312
static:
runs-on: ubuntu-latest
steps:
Expand Down
3 changes: 3 additions & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@ pytest
requests-mock
mock
bandit==1.7.5;python_version > '3'
# bandit 1.7.5 imports pbr at runtime but doesn't declare it as a dependency,
# so a clean resolve omits it -> "ModuleNotFoundError: No module named 'pbr'".
pbr;python_version > '3'
responses
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py39,py310,py311,static,docs
envlist = py310,py311,py312,static,docs

[testenv]
deps=-rtest-requirements.txt
Expand Down
Loading