1
0
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:
yubiuser 2022-09-17 16:13:48 +02:00 committed by GitHub
commit 7eff36b3bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 9 additions and 8 deletions

View File

@ -51,10 +51,10 @@ jobs:
name: Checkout repository name: Checkout repository
uses: actions/checkout@v3.0.2 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 uses: actions/setup-python@v4.2.0
with: with:
python-version: 3.8 python-version: '3.10'
- -
name: Install dependencies name: Install dependencies
run: pip install -r test/requirements.txt run: pip install -r test/requirements.txt

View File

@ -1,6 +1,7 @@
from setuptools import setup from setuptools import setup
setup( setup(
py_modules=[],
setup_requires=['pytest-runner'], setup_requires=['pytest-runner'],
tests_require=['pytest'], tests_require=['pytest'],
) )

View File

@ -1,5 +1,5 @@
[tox] [tox]
envlist = py38 envlist = py3
[testenv] [testenv]
whitelist_externals = docker whitelist_externals = docker

View File

@ -1,5 +1,5 @@
[tox] [tox]
envlist = py38 envlist = py3
[testenv] [testenv]
whitelist_externals = docker whitelist_externals = docker

View File

@ -1,5 +1,5 @@
[tox] [tox]
envlist = py38 envlist = py3
[testenv] [testenv]
whitelist_externals = docker whitelist_externals = docker

View File

@ -1,5 +1,5 @@
[tox] [tox]
envlist = py38 envlist = py3
[testenv] [testenv]
whitelist_externals = docker whitelist_externals = docker

View File

@ -1,5 +1,5 @@
[tox] [tox]
envlist = py38 envlist = py3
[testenv] [testenv]
whitelist_externals = docker whitelist_externals = docker

View File

@ -1,5 +1,5 @@
[tox] [tox]
envlist = py38 envlist = py3
[testenv] [testenv]
whitelist_externals = docker whitelist_externals = docker