Index: .gitlab-ci.yml
===================================================================
--- .gitlab-ci.yml	(revision 3364b8bbab845b0e712328afb8f688d39cdce11f)
+++ .gitlab-ci.yml	(revision 3c396a4e5e3bafd9f2a9d5c7845ee176fe41d9eb)
@@ -1,5 +1,19 @@
 image: python:latest
-
-test:
-    script:
-        - python3 --version
+pages:
+  stage: deploy
+  script:
+    - sphinx-build -b html doc/rst/ public
+  artifacts:
+    paths:
+    - public
+  only:
+  - main
+pytest:
+  stage: test
+  script:
+    - cd tests
+    - pytest --junitxml=report.xml
+  artifacts:
+    when: always
+    reports:
+      junit: report.xml
