diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ce8761c..4ae527f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -53,6 +53,8 @@ jobs: - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 + with: + python-version: "3.11" - name: Install dependencies run: python -m pip install tox @@ -98,10 +100,10 @@ jobs: strategy: fail-fast: false - tox-environment: + matrix: + tox-environment: - docs - style - - pkglint steps: - uses: actions/checkout@v3 @@ -110,6 +112,8 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 + with: + python-version: "3.11" - name: Install dependencies run: python -m pip install tox diff --git a/tox.ini b/tox.ini index ba242cc..e375374 100644 --- a/tox.ini +++ b/tox.ini @@ -8,7 +8,7 @@ deps = -rrequirements.txt setenv = TOXIC = true SHELL = /bin/bash -whitelist_externals = +allowlist_externals = bash zsh ksh @@ -31,7 +31,6 @@ setenv = commands = ksh ./tests/run_tests {envdir} [] [testenv:docs] -basepython=python2.7 deps = -r{toxinidir}/requirements.txt -r{toxinidir}/docs/requirements.txt