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

Run all tests (unit and integration) in the tests:3.11:cov job
so they are counted and summed-up for the coverage statistics
---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f7a18a1f..d3563f5d 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
-- 
GitLab