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

Unpin docs session and add --error-on-missing-interpreter to CI sessions #532

Merged
merged 1 commit into from
Dec 24, 2021
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: |
python -m pip install --disable-pip-version-check .
- name: Run tests on ${{ matrix.os }}
run: nox --non-interactive --session "tests-${{ matrix.python-version }}" -- --full-trace
run: nox --non-interactive --error-on-missing-interpreter --session "tests-${{ matrix.python-version }}" -- --full-trace
lint:
runs-on: ubuntu-20.04
steps:
Expand All @@ -35,7 +35,7 @@ jobs:
run: |
python -m pip install --disable-pip-version-check .
- name: Lint
run: nox --non-interactive --session "lint"
run: nox --non-interactive --error-on-missing-interpreter --session "lint"
docs:
runs-on: ubuntu-20.04
steps:
Expand All @@ -48,7 +48,7 @@ jobs:
run: |
python -m pip install --disable-pip-version-check .
- name: Docs
run: nox --non-interactive --session "docs"
run: nox --non-interactive --error-on-missing-interpreter --session "docs"
deploy:
needs: build
runs-on: ubuntu-20.04
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def lint(session):
session.run("flake8", *files)


@nox.session(python="3.9")
@nox.session
def docs(session):
"""Build the documentation."""
output_dir = os.path.join(session.create_tmp(), "output")
Expand Down