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

Updates image matrices. #680

Merged
merged 6 commits into from
Nov 28, 2023
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
29 changes: 15 additions & 14 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ docs_task:
# TODO: Add -n (nit-picky mode, warn about all missing references)
- make -C docs/ "SPHINXOPTS=-W" html

env:
LANG: "C.UTF-8"


task:
name: "Linux $IMAGE"
Expand All @@ -50,14 +53,12 @@ task:
allow_failures: $IMAGE =~ '.*[-:]rc-.*'
env:
matrix:
- IMAGE: python:3.6-slim
- IMAGE: python:3.7-slim
- IMAGE: python:3.8-slim
- IMAGE: python:3.9-slim
- IMAGE: python:rc-slim
- IMAGE: pypy:3.6-slim
- IMAGE: pypy:3.7-slim
- IMAGE: python:3.10-slim
- IMAGE: python:3.11-slim
- IMAGE: python:3.12-slim

container:
image: $IMAGE
Expand Down Expand Up @@ -94,17 +95,17 @@ task:
macOS_task:
alias: Tests
skip: $CIRRUS_BRANCH =~ '.*\.tmp'
osx_instance:
image: catalina-base
macos_instance:
image: ghcr.io/cirruslabs/macos-ventura-base:latest
env:
PATH: ${HOME}/.pyenv/shims:${PATH}
matrix:
# To update: check the output of the most recent macOS_version job
- PYTHON: 3.6.12
- PYTHON: 3.7.9
- PYTHON: 3.8.6
- PYTHON: 3.9.0
- PYTHON: 3.10.0
- PYTHON: 3.8
- PYTHON: 3.9
- PYTHON: 3.10
- PYTHON: 3.11
- PYTHON: 3.12
depends_on:
- build
install_script:
Expand All @@ -128,7 +129,7 @@ macOS_task:
macOS_version_task:
skip: $CIRRUS_BRANCH =~ '.*\.tmp'
osx_instance:
image: catalina-xcode
image: ghcr.io/cirruslabs/macos-ventura-base:latest

install_script:
# Per the pyenv homebrew recommendations.
Expand All @@ -150,11 +151,11 @@ task:

env:
matrix:
- IMAGE: python:3.6-windowsservercore
- IMAGE: python:3.7-windowsservercore
- IMAGE: python:3.8-windowsservercore
- IMAGE: python:3.9-windowsservercore
- IMAGE: python:3.10-windowsservercore
- IMAGE: python:3.11-windowsservercore
- IMAGE: python:3.12-windowsservercore
- IMAGE: python:rc-windowsservercore

install_script:
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None
language = 'en'

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
Expand Down
4 changes: 2 additions & 2 deletions tests/test_camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ def test_sprite_in_view_no_dimensions(camera, input_position, expected):


@given(
vp_width=st.integers(min_value=1),
vp_height=st.integers(min_value=1),
vp_width=st.integers(min_value=100, max_value=15000),
vp_height=st.integers(min_value=100, max_value=15000),
target_width=st.floats(min_value=1, max_value=1e5, allow_nan=False, allow_infinity=False),
cam_pos=vectors(1e15), # Set low to prevent loss-of-precision problems about frame size
point=vectors(),
Expand Down