Skip to content

Commit

Permalink
Use uv to simplify various CI jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWaygood committed Sep 3, 2024
1 parent 9d4b9b2 commit 0390c36
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/regen-examples-and-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- uses: hynek/setup-cached-uv@v2
- run: curl -LsSf https://astral.sh/uv/install.sh | sh
- run: uv pip install -e .[docs] --system
- run: uv pip freeze
- name: Regenerate examples and docs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- uses: hynek/setup-cached-uv@v2
- run: curl -LsSf https://astral.sh/uv/install.sh | sh
- run: uv pip install -e .[docs] --system
- run: uv pip freeze
- name: Regenerate examples and docs
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/typecheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- uses: hynek/setup-cached-uv@v2
- run: uv pip install -e ".[typecheck]" --system
- run: uv pip freeze
- run: mypy
- run: curl -LsSf https://astral.sh/uv/install.sh | sh
- run: uv run --python=3.11 --extra=typecheck mypy

pyright:
name: Run pyright on the codebase
Expand Down

0 comments on commit 0390c36

Please sign in to comment.