Run tests on all supported python versions

Signed-off-by: Bas Zoetekouw <bas.zoetekouw@surf.nl>
This commit is contained in:
Bas Zoetekouw 2024-03-09 15:45:21 +01:00
parent 9d8b0b8632
commit bd60bc9f21
No known key found for this signature in database
GPG Key ID: D183A517BFA98DE6

View File

@ -6,9 +6,14 @@ on:
jobs:
test:
strategy:
fail-fast: false
matrix:
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]
runs-on: ubuntu-latest
container:
image: docker.io/library/python:3.11-bookworm
image: "docker.io/library/python:${{ matrix.python-version }}-bookworm"
# cgroupns needed to address the following error:
# write /sys/fs/cgroup/cgroup.subtree_control: operation not supported
options: --privileged --cgroupns=host