-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Enable virtualenv for poetry * Run make html in poetry env
- Loading branch information
Showing
1 changed file
with
2 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ concurrency: | |
env: | ||
PYTHON_VERSION: "3.10" | ||
POETRY_NO_INTERACTION: 1 | ||
POETRY_VIRTUALENVS_CREATE: false | ||
POETRY_VIRTUALENVS_CREATE: true | ||
POETRY_VIRTUALENVS_IN_PROJECT: false | ||
POETRY_VERSION: "1.8.2" | ||
|
||
|
@@ -55,20 +55,12 @@ jobs: | |
poetry install --with dev | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
|
||
- name: Verify pre-commit checks | ||
uses: pre-commit/[email protected] | ||
with: | ||
extra_args: --all-files | ||
|
||
- name: Test with pytest | ||
run: poetry run python -m pytest ./test | ||
|
||
- name: Setup Pages | ||
id: pages | ||
uses: actions/configure-pages@v5 | ||
|
||
- name: Build docs with Sphinx | ||
run: make html | ||
run: poetry run make html | ||
working-directory: docs | ||
|
||
- name: Upload docs | ||
|