Skip to content

Commit fc5bfeb

Browse files
authored
Merge pull request #238 from neo4j/uv-render-docs
uv render docs
2 parents fcd576f + a08f3b9 commit fc5bfeb

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/render-docs.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,25 @@ jobs:
2020
# The type of runner that the job will run on
2121
runs-on: ubuntu-latest
2222

23+
defaults:
24+
run:
25+
working-directory: python-wrapper
26+
2327
# Steps represent a sequence of tasks that will be executed as part of the job
2428
steps:
2529
- uses: actions/checkout@v4
2630

27-
- uses: actions/setup-python@v5
31+
- name: Install uv and set the Python version
32+
uses: astral-sh/setup-uv@v6
2833
with:
2934
python-version: "3.11"
30-
cache: "pip"
31-
cache-dependency-path: pyproject.toml
32-
- run: pip install "python-wrapper/[dev, pandas, gds, snowflake, docs]"
35+
enable-cache: true
36+
- run: uv sync --extra dev --extra pandas --extra neo4j --extra gds --extra snowflake --extra docs
3337

3438
- name: Setup pandoc
3539
uses: pandoc/actions/setup@v1
3640
with:
3741
version: 3.6.2
3842

3943
- name: Render ref docs
40-
run: ./scripts/render_docs.sh
44+
run: uv run bash ../scripts/render_docs.sh

0 commit comments

Comments
 (0)