Skip to content

Commit

Permalink
Unpin docs session and add --error-on-missing-interpreter to CI sessi…
Browse files Browse the repository at this point in the history
…ons (#532)
  • Loading branch information
FollowTheProcess committed Dec 24, 2021
1 parent 7806b8e commit 26f2a0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
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
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

0 comments on commit 26f2a0d

Please sign in to comment.