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

ci: add python 3.10 and macOS Catalina tests #74

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from 4 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
14 changes: 12 additions & 2 deletions appveyor.yml
Expand Up @@ -7,6 +7,10 @@ environment:
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
PYTHON: "C:\\Python39-x64"

- job_group: tests
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
PYTHON: "3.10"

- job_group: tests
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
PYTHON: "3.9"
Expand All @@ -23,10 +27,14 @@ environment:
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
PYTHON: "3.6"

- job_group: tests
APPVEYOR_BUILD_WORKER_IMAGE: macos
PYTHON: "3.9"

- job_name: deploy
coderkalyan marked this conversation as resolved.
Show resolved Hide resolved
job_depends_on: tests
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
PYTHON: "3.9"
PYTHON: "3.10"

GIT_TOKEN:
secure: +jQhxLpePj6hdDryfET/XpLo7VL9fhDXVHlwLOPp/nRDYe97TJAfd0XCTuPz1qkT
Expand All @@ -50,10 +58,12 @@ for:
- cmd: 'echo %PATH%'
# Shared config.
- python -m pip install --upgrade pip setuptools nox
- python --version
test_script:
# GNU/Linux test.
- sh: nox --non-interactive --error-on-missing-interpreters --session test lint --python $PYTHON
- sh: nox --non-interactive --session docs
# skip macOS docs build
- sh: 'if [ "$APPVEYOR_BUILD_WORKER_IMAGE" != "macos" ]; then nox --non-interactive --session docs; fi'
# MS Windows test.
- cmd: nox --forcecolor --non-interactive --error-on-missing-interpreters --session test lint
# Shared test for all platforms.
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
@@ -1,3 +1,3 @@
sphinx == 3.5.3
sphinx == 4.3.1
sphinx_rtd_theme == 0.5.1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CSS was fixed by updating the sphinx_rtd_theme to latest

The version spec appears to be unchanged here.

sphinx-computron >= 0.2, < 2.0
4 changes: 2 additions & 2 deletions noxfile.py
Expand Up @@ -9,7 +9,7 @@
import nox


PYTHONS = ["3.6", "3.7", "3.8", "3.9"]
PYTHONS = ["3.6", "3.7", "3.8", "3.9", "3.10"]
"""The newest supported Python shall be listed LAST."""

nox.options.error_on_external_run = True
Expand Down Expand Up @@ -84,7 +84,7 @@ def lint(session):
},
)
if is_latest_python(session):
session.install("black == 20.8b1")
session.install("black == 21.4b2")
session.run("black", "--check", ".")


Expand Down