Skip to content

Commit d57cff7

Browse files
committed
ci (incomplete)
1 parent 4de18a5 commit d57cff7

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/python_ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ jobs:
188188
with:
189189
python-version: 3.x
190190
- name: Activate virtualenv
191-
run: "python -m venv .env && source .env/bin/activate && echo PATH=$PATH >> $GITHUB_ENV"
191+
run: "python -m venv .venv && source .venv/bin/activate && echo PATH=$PATH >> $GITHUB_ENV"
192192
- name: Maturin develop
193193
uses: PyO3/maturin-action@v1
194194
with:
@@ -203,7 +203,9 @@ jobs:
203203
run: "python -m unittest tests/*.py"
204204
- name: Test stubs
205205
working-directory: bindings/ergo-lib-python
206-
run: "stubtest ergo_lib_python"
206+
# run: 'python -c "import ergo_lib_python; print(ergo_lib_python.__all__)"'
207+
run: echo $PATH
208+
# run: "stubtest ergo_lib_python"
207209
- name: Run doctests
208210
working-directory: bindings/ergo-lib-python
209-
run: "cd docs && make doctest"
211+
run: "source ../../.venv/bin/activate && cd docs && python -c 'import ergo_lib_python' && make doctest"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
mypy==1.15.0
2+
Sphinx==8.1.3
3+
sphinx-autoapi==3.6.0
4+
sphinx-rtd-theme==3.0.2
5+

0 commit comments

Comments
 (0)