Skip to content

Commit

Permalink
Use shorthand for installs
Browse files Browse the repository at this point in the history
  • Loading branch information
palewire committed Sep 21, 2024
1 parent 77b2c70 commit b557d28
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/continuous-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:

- id: install-python-dependencies
name: Install Python dependencies
run: uv venv && uv pip install mypy
run: uv venv && uv pip install . ".[mypy]"

- id: mypy
name: Run mypy
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:

- id: install-python-dependencies
name: Install Python dependencies
run: uv venv && uv pip install twine
run: uv venv && uv pip install . ".[build]"

- id: build
name: Build releases
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

- id: install-python-dependencies
name: Install Python dependencies
run: uv venv && uv pip install sphinx sphinx-click sphinxcontrib-mermaid myst-parser
run: uv venv && uv pip install . ".[docs]"

- id: build-sphinx-documentation
name: Build Sphinx documentation
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ mypy = [
"mypy",
]

build = [
"twine",
]

[project.urls]
Documentation = "https://palewi.re/docs/your-respository/"
Maintainer = "https://github.com/palewire/"
Expand Down

0 comments on commit b557d28

Please sign in to comment.