diff options
-rw-r--r-- | .github/workflows/tests.yml | 4 | ||||
-rw-r--r-- | .meta.toml | 2 | ||||
-rw-r--r-- | tox.ini | 5 |
3 files changed, 6 insertions, 5 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3c40fa5..cedf24b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,7 +17,7 @@ jobs: fail-fast: false matrix: os: - - ubuntu + - ["ubuntu", "ubuntu-20.04"] config: # [Python version, tox env] - ["3.9", "lint"] @@ -34,7 +34,7 @@ jobs: - ["3.9", "docs"] - ["3.9", "coverage"] - runs-on: ${{ matrix.os }}-latest + runs-on: ${{ matrix.os[1] }} if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name name: ${{ matrix.config[1] }} steps: @@ -2,7 +2,7 @@ # https://github.com/zopefoundation/meta/tree/master/config/pure-python [meta] template = "pure-python" -commit-id = "90a5c439bc150722699aff9fa7cd96f6e59db536" +commit-id = "200573eb414d2228d463da3de7d71a6d6335a704" [python] with-macos = false @@ -44,6 +44,7 @@ deps = [testenv:isort-apply] basepython = python3 +skip_install = true commands_pre = deps = isort @@ -69,8 +70,8 @@ commands = mkdir -p {toxinidir}/parts/htmlcov coverage run -m zope.testrunner --test-path=src {posargs:-vc} coverage run -a -m sphinx -b doctest -d {envdir}/.cache/doctrees docs {envdir}/.cache/doctest - coverage html - coverage report -m --fail-under=100 + coverage html --ignore-errors + coverage report --ignore-errors --show-missing --fail-under=100 [coverage:run] branch = True |