Skip to content

Commit c0cfdaf

Browse files
authored
fix: Use virtual environment for Python dependencies in documentation workflow (#81)
1 parent f1dc484 commit c0cfdaf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/documentation.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,13 @@ jobs:
2323
- name: Install dependencies
2424
run: |
2525
brew install doxygen
26-
pip3 install jinja2 Pygments
26+
python3 -m venv venv
27+
source venv/bin/activate
28+
pip install jinja2 Pygments
2729
2830
- name: Build
2931
run: |
32+
source venv/bin/activate
3033
cmake -S documentation -B build
3134
cmake --build build --target GenerateDocs
3235

0 commit comments

Comments
 (0)