Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lighter-weight CI installs #76

Merged
merged 1 commit into from
Feb 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
uses: ./.github/actions/setup
# Install dependencies.
- name: Install dependencies
run: poetry install --without dev --with docs
run: poetry install --only docs
# Build docs.
- name: Build docs
run: poetry run sphinx-build -W docs docs/_build
Expand All @@ -85,7 +85,7 @@ jobs:
uses: ./.github/actions/setup
# Install dependencies.
- name: Install dependencies
run: poetry install
run: poetry install --only coverage
# Report coverage.
- name: Download coverage
uses: actions/download-artifact@v4
Expand Down
6 changes: 3 additions & 3 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ build:
python: "3.12"
jobs:
post_create_environment:
- pip install poetry
- poetry config virtualenvs.create false
- pip install poetry
- poetry config virtualenvs.create false
post_install:
- poetry install --without dev --with docs
- poetry install --only docs

sphinx:
configuration: docs/conf.py
Expand Down
12 changes: 6 additions & 6 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ typing-extensions = { version = ">=4.9.0", python = "<3.10" }
[tool.poetry.extras]
pytest = ["pytest"]

[tool.poetry.group.dev.dependencies]
[tool.poetry.group.coverage.dependencies]
coverage = "^7.4.1"

[tool.poetry.group.dev.dependencies]
hypothesis = "^6.96.1"
mypy = "^1.8.0"
ruff = "^0.1.11"
Expand Down