diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b3135bc39e4a07b7c031be9af840dea8b5286c26..ad7b10f7427c32b9627313157060492957f47701 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -57,6 +57,10 @@ run-test-3.11:
   image: python:3.11
   extends: ".run-test"
 
+run-test-3.12:
+  image: python:3.12
+  extends: ".run-test"
+
 run-doc-test:
   image: python:3.10
   stage: test
diff --git a/pyproject.toml b/pyproject.toml
index 35e62546e66c372c561c545971fcbf9a5aaef236..b42e9e848b527a1cb5dcb2ec84c9918c29e4c542 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -11,6 +11,7 @@ classifiers = [
     "Programming Language :: Python :: 3",
     "Programming Language :: Python :: 3.10",
     "Programming Language :: Python :: 3.11",
+    "Programming Language :: Python :: 3.12",
 ]
 maintainers = [{ name = "Oscar Gustafsson", email = "oscar.gustafsson@liu.se" }]
 dependencies = ["qtpy"]