Skip to content

Commit 6b0cf49

Browse files
committed
fix: create missing html coverage report
To display the coverage report on the GitHub Pages the report has to be generated first.
1 parent ee0da42 commit 6b0cf49

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,13 @@ jobs:
136136
run: pip install -U -e ".[all]"
137137
- name: Run unit tests
138138
run: python -m coverage run -m unittest discover --start-directory tests
139+
- name: Create coverage HTML report
140+
run: python -m coverage html --directory "./build/htmlcov"
141+
- name: Upload coverage report artifact
142+
uses: actions/upload-artifact@v4
143+
with:
144+
name: HTML coverage report
145+
path: build/htmlcov
139146

140147
# ## DOCUMENTATION ##########################################################
141148

@@ -150,6 +157,11 @@ jobs:
150157
cache: pip
151158
- name: Install dependencies
152159
run: pip install -U -e ".[all]"
160+
- name: Download coverage report artifact
161+
uses: actions/download-artifact@v5
162+
with:
163+
name: HTML coverage report
164+
path: build/htmlcov
153165
- name: Build documentation (GitHub Pages)
154166
env:
155167
DEPLOY: true

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ It is not important where the conext or empty cells are inside a multiline table
239239

240240
<h3 id="colon-example-3">Example 3</h3>
241241

242-
My current preferred method for making each "complete" line easily identifiable is to use blank lines so that the naked eye can immediately tell where a line begins and ends.
242+
A great method for making each "complete" line easily identifiable is to use blank lines so that the naked eye can immediately tell where a line begins and ends.
243243

244244
```markdown
245245
| Module ID | Class | Description |

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ site_name: Multiline Table extension for Python Markdown
77

88
repo_name: md-multiline-table
99
repo_url: https://github.com/DLR-KI/md-multiline-table
10-
#edit_uri: edit/main/docs/
10+
edit_uri: edit/main/docs/
1111

1212
theme:
1313
name: material

0 commit comments

Comments
 (0)