diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 73d46374b..2b3b050f0 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8"] architecture: ["x64"] steps: @@ -31,4 +31,5 @@ jobs: - name: Run unit tests with tox shell: bash run: | - tox -v + tox -v -e py3,pep8 + diff --git a/tox.ini b/tox.ini index a3f8b22ac..20f368a0c 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 4.0.2 -envlist = py3,pep8,flake8,cover +envlist = py3,pep8 skipsdist = True [testenv] @@ -32,5 +32,5 @@ commands = {posargs} # E125 is deliberately excluded. See https://github.com/jcrocholl/pep8/issues/126 # E251 Skipped due to https://github.com/jcrocholl/pep8/issues/301 -ignore = E125,E251,W503,W504,E305,E731,E117,W605,F632 +ignore = E125,E251,W503,W504,E305,E731,E117,W605,F632,H401,H405 exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools