Skip to content

Commit e737021

Browse files
Merge pull request #8 from LedgerHQ/ci/adding-doc
ci: adding doc build
2 parents 8f89794 + 68acc9f commit e737021

2 files changed

Lines changed: 18 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
strategy:
2828
matrix:
2929
pyversion:
30-
- '3.6'
30+
- '3.8'
3131
- '3.10'
3232
- '3.12'
3333
steps:
@@ -52,3 +52,16 @@ jobs:
5252
pip install tox
5353
- name: Run linters
5454
run: tox -e lint || true
55+
56+
doc:
57+
runs-on: ubuntu-latest
58+
needs: build
59+
steps:
60+
- uses: actions/checkout@v4
61+
- uses: actions/setup-python@v5
62+
with:
63+
python-version: '3.10'
64+
- run: |
65+
pip install tox
66+
- name: Run linters
67+
run: tox -e doc

tox.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@ commands =
5252

5353

5454
[testenv:doc]
55-
extras = doc
55+
description = generate sphinx documentation
56+
extras =
57+
doc
58+
protoc
5659
allowlist_externals =
5760
{toxinidir}/genproto.sh
5861
commands =

0 commit comments

Comments
 (0)