Skip to content

Commit 69adc6f

Browse files
committed
Re-add norewrite tests
1 parent b905823 commit 69adc6f

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/test.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ jobs:
3333
matrix:
3434
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
3535
os: [ubuntu-latest, windows-latest]
36+
tox_env: ["py"]
37+
include:
38+
- python: "3.12"
39+
os: ubuntu-latest
40+
tox_env: "norewrite"
41+
- python: "3.12"
42+
os: windows-latest
43+
tox_env: "norewrite"
3644

3745
steps:
3846
- uses: actions/checkout@v3
@@ -56,4 +64,4 @@ jobs:
5664
- name: Test
5765
shell: bash
5866
run: |
59-
tox run -e py --installpkg `find dist/*.tar.gz`
67+
tox run -e ${{ matrix.tox_env }} --installpkg `find dist/*.tar.gz`

tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ deps =
88
mock
99
pytest-asyncio
1010
commands =
11-
coverage run --append --source={envsitepackagesdir}/pytest_mock -m pytest tests
11+
coverage run --append --source={envsitepackagesdir}/pytest_mock -m pytest tests --color=yes
1212

1313
[testenv:norewrite]
1414
commands =
15-
pytest tests --assert=plain
15+
pytest tests --assert=plain --color=yes
1616

1717
[pytest]
1818
addopts = -r a

0 commit comments

Comments
 (0)