From 81dcfc0f1a25196b7713b968aea3a77e8f0f1f78 Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Sun, 30 Oct 2022 11:39:48 +0100
Subject: [PATCH] (ci) Run unit tests in all Py vers jobs (#441)

Create 3.11 integration test job
---
 .gitlab-ci.yml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f7a18a1f..cdadc318 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -107,7 +107,7 @@ pre-commit:hooks:
   image: $DOCKER_IMAGE/$PYTHON_VERSION:latest
   script:
     - poetry install
-    - poetry run pytest
+    - poetry run pytest tests/unit
 
 tests:3.7:
   extends: .tests
@@ -145,6 +145,12 @@ tests:3.11:cov:
         coverage_format: cobertura
         path: coverage.xml
 
+tests:3.11:integration:
+  extends: .tests
+  script:
+    - poetry install
+    - poetry run pytest tests/integration
+
 .image:
   stage: package
   tags: [docker]
-- 
GitLab