Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,13 @@ jobs:
cache-dependency-path: 'setup.py'
- name: Install dependencies
run: |
python -m pip install -U pip setuptools wheel
python -m pip install -U coverage zope.testrunner
python -m pip install -U -e ".[test]"
python -m pip install -U pip
python -m pip install -U tox
- name: Test
run: |
coverage run -m zope.testrunner --test-path=src
coverage report
tox -v -e py
- name: Lint
if: matrix.python-version == '3.12'
run: |
python -m pip install -U pylint
python -m pip install -U pylint ".[test]"
pylint src
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ deps =
zope.testrunner
commands =
coverage run -p -m zope.testrunner --test-path=src
coverage combine
coverage report
passenv = HOME

[testenv:docs]
Expand Down