Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-k authored and markpeek committed Aug 13, 2023
1 parent 76d58d7 commit 8d2f739
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip tox tox-factor
python -m pip install --upgrade pip tox
- name: Run tox targets for ${{ matrix.python-version }}
run: |
PYVERSION=$(python -c "import sys; print(''.join([str(sys.version_info.major), str(sys.version_info.minor)]))")
python -m tox -f $(python -m tox --listenvs | grep "^py${PYVERSION}" | tr '\n' ',')
python -m tox -f $(python -m tox --listenvs | grep "^py${PYVERSION}" | tr '\n' ' ')
mypy:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ envlist =
qa,package

[testenv]
commands = python -W error::DeprecationWarning -W error::PendingDeprecationWarning setup.py test {posargs}
commands = python -W error::PendingDeprecationWarning setup.py test {posargs}

[testenv:mypy]
deps =
Expand Down

0 comments on commit 8d2f739

Please sign in to comment.