Add support for running the tests in the CI

This is relatively straight-forward using nox.

One little change required was the change to the MACOSX_DEPLOYMENT_TARGET.
maturin requires it to be a full version, and GitHub actions requires it to
be quoted consequently, otherwise it interprets 11.0 as 11 and stores that
instead.
This commit is contained in:
Simon Hausmann 2023-12-14 15:03:53 +01:00 committed by Simon Hausmann
parent 81a636bb5f
commit ebaecbcb7e
4 changed files with 50 additions and 4 deletions

View file

@ -28,7 +28,7 @@ on:
default: "backend-winit,renderer-femtovg,renderer-skia"
env:
MACOSX_DEPLOYMENT_TARGET: 11
MACOSX_DEPLOYMENT_TARGET: "11.0"
jobs:
build_windows: