Skip to content

Commit a535ae6

Browse files
authored
remove coverage check
Removed coverage check and related steps from docs workflow.
1 parent 2b4209f commit a535ae6

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,7 @@ jobs:
3939
run: |
4040
cd docs
4141
make html
42-
43-
# check code coverage, store results in the built docs.
44-
# coverage.py creates a .gitignore with '*' where it's run; remove it
45-
# to keep the coverage report and badge on gh-pages
46-
- name: Coverage
47-
# only continue if the PR is not just closed, but also merged:
48-
# if: github.event.pull_request.merged == true
49-
run: |
50-
coverage run --source=py_template -m pytest test/*.py
51-
coverage report
52-
mkdir -p docs/_build/html/coverage
53-
coverage html -d docs/_build/html/coverage
54-
rm docs/_build/html/coverage/.gitignore
55-
coverage-badge -f -o docs/_build/html/coverage/badge.svg
56-
42+
5743
# upload the built docs as an artifact so the files can be accessed
5844
# by a subsequent job in the workflow.
5945
# only store the artifact for 'retention-days'
@@ -104,4 +90,4 @@ jobs:
10490
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
10591
npx gh-pages --dotfiles --dist docs/_build/html --user "github-actions-bot <[email protected]>" --message "Update docs [skip ci]"
10692
env:
107-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
93+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)