Skip to content

Commit

Permalink
chore: use install-poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
phi-friday committed Feb 27, 2025
1 parent 8b5f167 commit 8dce466
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 14 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,10 @@ jobs:
uses: olegtarasov/[email protected]
- name: Install pandoc
run: sudo apt-get install -y pandoc
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v5
with:
version: "latest"
- name: Install Poetry
run: |
uv tool install poetry
uses: snok/install-poetry@v1
with:
version: 'latest'
- name: Install package and test dependencies
run: |
poetry install --with dev,nbtools
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/format_and_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,10 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: "3.9"
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v5
with:
version: "latest"
- name: Install Poetry
run: |
uv tool install poetry
uses: snok/install-poetry@v1
with:
version: 'latest'
- name: Install dependencies
run: |
poetry install --with dev
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ jobs:
with:
version: "latest"
- name: Install Poetry
run: |
uv tool install poetry
uses: snok/install-poetry@v1
with:
version: 'latest'
- name: Install test dependencies
run: |
poetry self add poetry-plugin-export
Expand Down

0 comments on commit 8dce466

Please sign in to comment.