refactor(workflows): streamline Python dep installation
Some checks failed
website / build (push) Failing after 27s
Some checks failed
website / build (push) Failing after 27s
Simplified the Python dependency installation process within the pdoc workflow by combining multiple pip install commands into a single instruction. This reduces the number of steps and makes the workflow more efficient. The update also includes the removal of unnecessary comments and unused dependency installation commands, making the YAML file cleaner and easier to understand. This change could potentially speed up the documentation generation process by reducing the overall runtime of the workflow.
This commit is contained in:
parent
d5777fac54
commit
4f3159b3fa
1 changed files with 5 additions and 8 deletions
|
@ -23,14 +23,11 @@ jobs:
|
|||
run: |
|
||||
apt update
|
||||
apt install -y python3 python3-pip
|
||||
# ADJUST THIS: install all dependencies (including pdoc)
|
||||
#- run: pip install -e .
|
||||
#- run: pip install --upgrade pip
|
||||
- run: pip install pdoc
|
||||
- run: pip install requests
|
||||
#- run: pip install json
|
||||
# ADJUST THIS: build your documentation into docs/.
|
||||
# We use a custom build script for pdoc itself, ideally you just run `pdoc -o docs/ ...` here.
|
||||
|
||||
- name: Install Python dependencies
|
||||
run: |
|
||||
pip install pdoc requests --break-system-packages
|
||||
|
||||
- run: python3 -m pdoc -d markdown -o docs src/plankapy/plankapy.py
|
||||
|
||||
- uses: forgejo/upload-artifact@v4
|
||||
|
|
Loading…
Reference in a new issue