mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 06:48:07 +00:00
Update workflow python to 3.10 and allow any python3 version in tests (#4914)
This commit is contained in:
commit
7eff36b3bb
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -51,10 +51,10 @@ jobs:
|
||||
name: Checkout repository
|
||||
uses: actions/checkout@v3.0.2
|
||||
-
|
||||
name: Set up Python 3.8
|
||||
name: Set up Python 3.10
|
||||
uses: actions/setup-python@v4.2.0
|
||||
with:
|
||||
python-version: 3.8
|
||||
python-version: '3.10'
|
||||
-
|
||||
name: Install dependencies
|
||||
run: pip install -r test/requirements.txt
|
||||
|
@ -1,6 +1,7 @@
|
||||
from setuptools import setup
|
||||
|
||||
setup(
|
||||
py_modules=[],
|
||||
setup_requires=['pytest-runner'],
|
||||
tests_require=['pytest'],
|
||||
)
|
||||
|
@ -1,5 +1,5 @@
|
||||
[tox]
|
||||
envlist = py38
|
||||
envlist = py3
|
||||
|
||||
[testenv]
|
||||
whitelist_externals = docker
|
||||
|
@ -1,5 +1,5 @@
|
||||
[tox]
|
||||
envlist = py38
|
||||
envlist = py3
|
||||
|
||||
[testenv]
|
||||
whitelist_externals = docker
|
||||
|
@ -1,5 +1,5 @@
|
||||
[tox]
|
||||
envlist = py38
|
||||
envlist = py3
|
||||
|
||||
[testenv]
|
||||
whitelist_externals = docker
|
||||
|
@ -1,5 +1,5 @@
|
||||
[tox]
|
||||
envlist = py38
|
||||
envlist = py3
|
||||
|
||||
[testenv]
|
||||
whitelist_externals = docker
|
||||
|
@ -1,5 +1,5 @@
|
||||
[tox]
|
||||
envlist = py38
|
||||
envlist = py3
|
||||
|
||||
[testenv]
|
||||
whitelist_externals = docker
|
||||
|
@ -1,5 +1,5 @@
|
||||
[tox]
|
||||
envlist = py38
|
||||
envlist = py3
|
||||
|
||||
[testenv]
|
||||
whitelist_externals = docker
|
||||
|
Loading…
Reference in New Issue
Block a user