Skip to content

Commit c761526

Browse files
committed
fix docs and codecov
1 parent 7642901 commit c761526

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

.github/workflows/doc.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
branches:
66
- main
77
tags: '*'
8-
pull_request:
98
workflow_dispatch:
109

1110
permissions:
@@ -16,14 +15,18 @@ jobs:
1615
runs-on: ubuntu-latest
1716
steps:
1817
- uses: actions/checkout@v2
19-
18+
- name: Install LaTeX for math support
19+
run: |
20+
sudo apt-get update
21+
sudo apt-get install texlive-full
2022
- name: generate doc
2123
run: |
2224
pip install -r requirements.txt
2325
pip install -r doc/requirements.txt
2426
cd doc/
2527
make html
2628
make linkcheck
29+
make doctest
2730
2831
- name: Deploy doc
2932
uses: peaceiris/actions-gh-pages@v3

.github/workflows/doc_dev.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@v2
19-
19+
- name: Install LaTeX for math support
20+
run: |
21+
sudo apt-get update
22+
sudo apt-get install texlive-full
2023
- name: generate doc
2124
run: |
2225
pip install -r requirements.txt

.github/workflows/tests.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,8 @@ jobs:
3939
- name: Test with pytest
4040
run: |
4141
pytest --cov=rbnet --cov-report=xml --cov-report=html --junitxml=junit/test-results.xml
42-
- name: Upload coverage reports to Codecov
42+
- name: Upload coverage to Codecov
4343
uses: codecov/codecov-action@v3
44-
env:
45-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
4644
with:
4745
env_vars: OS,PYTHON
4846
fail_ci_if_error: true

doc/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# -- Project information -----------------------------------------------------
1919

2020
project = 'rbnet'
21-
copyright = '2022, Robert Lieck'
21+
copyright = '2021, Robert Lieck'
2222
author = 'Robert Lieck'
2323

2424

@@ -58,7 +58,7 @@
5858
# don't show the "View page source" link in the RTD theme
5959
html_show_sourcelink = False
6060
# use svg in imgmath extension
61-
imgmath_image_format='svg'
61+
imgmath_image_format = 'svg'
6262
# intersphinx mappings
6363
intersphinx_mapping = {}
6464
# report broken links

0 commit comments

Comments
 (0)