diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b872be2..7eef5be 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,6 +33,14 @@ jobs: matrix: python: ["3.8", "3.9", "3.10", "3.11", "3.12"] os: [ubuntu-latest, windows-latest] + tox_env: ["py"] + include: + - python: "3.12" + os: ubuntu-latest + tox_env: "norewrite" + - python: "3.12" + os: windows-latest + tox_env: "norewrite" steps: - uses: actions/checkout@v3 @@ -56,4 +64,4 @@ jobs: - name: Test shell: bash run: | - tox run -e py --installpkg `find dist/*.tar.gz` + tox run -e ${{ matrix.tox_env }} --installpkg `find dist/*.tar.gz` diff --git a/tox.ini b/tox.ini index 7da63d7..a2b3e21 100644 --- a/tox.ini +++ b/tox.ini @@ -8,11 +8,11 @@ deps = mock pytest-asyncio commands = - coverage run --append --source={envsitepackagesdir}/pytest_mock -m pytest tests + coverage run --append --source={envsitepackagesdir}/pytest_mock -m pytest tests --color=yes [testenv:norewrite] commands = - pytest tests --assert=plain + pytest tests --assert=plain --color=yes [pytest] addopts = -r a