Skip to content

Commit

Permalink
remove docs and diffconv tox configs
Browse files Browse the repository at this point in the history
  • Loading branch information
JackKelly committed Sep 29, 2023
1 parent 0d6a32d commit 330ba60
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 61 deletions.
9 changes: 0 additions & 9 deletions .coveragerc

This file was deleted.

33 changes: 0 additions & 33 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,44 +54,11 @@ jobs:
- name: Run
run: tox

diffcov:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Install tox
run: |
python -m pip install tox
- name: Evaluate coverage
run: tox
env:
TOXENV: diffcov

docs:
runs-on: ubuntu-latest
env:
TOXENV: docs
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
- name: Install tox
run: |
python -m pip install tox
- name: Run
run: tox

check: # This job does nothing and is only used for the branch protection
if: always()

needs:
- test
- docs

runs-on: ubuntu-latest

Expand Down
19 changes: 0 additions & 19 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,6 @@ usedevelop = True
extras =
testing

[testenv:diffcov]
description = run tests and check that diff from main is covered
deps =
diff-cover
commands =
pytest {posargs} --cov-report xml
diff-cover coverage.xml --compare-branch=origin/main --html-report diffcov.html
diff-cover coverage.xml --compare-branch=origin/main --fail-under=100

[testenv:docs]
description = build the documentation
extras =
docs
testing
changedir = docs
commands =
python -m sphinx -W --keep-going . {toxinidir}/build/html
python -m sphinxlint

[testenv:finalize]
description = assemble changelog and tag a release
skip_install = True
Expand Down

0 comments on commit 330ba60

Please sign in to comment.