Skip to content

Commit a5b25b3

Browse files
committed
codecov, flake8, docs workflow
1 parent cbc9690 commit a5b25b3

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ coverage:
2020
target: auto
2121
if_no_uploads: error
2222
if_not_found: success
23-
if_ci_failed: failure
23+
if_ci_failed: error
2424
paths: '!*/tests/.*'
2525

2626
tests:

.coveragerc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[run]
22
source =
3-
src/diffpy/pdfmorph/
3+
diffpy.pdfmorph
44
[report]
55
omit =
66
*/python?.?/*

.flake8

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ exclude =
77
doc/source/conf.py
88
max-line-length = 115
99
# Ignore some style 'errors' produced while formatting by 'black'
10-
ignore = W503
10+
# https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html#labels-why-pycodestyle-warnings
11+
extend-ignore = E203

.github/workflows/docs.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
- main
77
release:
88

9-
109
jobs:
1110
test:
1211
runs-on: ubuntu-latest
@@ -35,10 +34,10 @@ jobs:
3534
run: python -m pip install . --no-deps
3635

3736
- name: build documents
38-
run: make -C doc/manual html
37+
run: make -C doc html
3938

4039
- name: Deploy
4140
uses: peaceiris/actions-gh-pages@v4
4241
with:
4342
github_token: ${{ secrets.GITHUB_TOKEN }}
44-
publish_dir: ./doc/manual/build/html
43+
publish_dir: ./doc/build/html

0 commit comments

Comments
 (0)