Skip to content

Commit

Permalink
Re-add norewrite tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoddemus committed Oct 19, 2023
1 parent b905823 commit 69adc6f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/test.yml
Expand Up @@ -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
Expand All @@ -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`
4 changes: 2 additions & 2 deletions tox.ini
Expand Up @@ -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
Expand Down

0 comments on commit 69adc6f

Please sign in to comment.