From b4beef83d33d934209ca96a273cba730d050d1e5 Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Tue, 13 Dec 2022 10:27:39 +0100
Subject: [PATCH] [pyproject,ci] Fix relative imports on coverage reports

---
 .gitlab-ci.yml | 1 +
 pyproject.toml | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 275b47f..8cd035e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,3 +5,4 @@
 include:
   - project: bob/dev-profile
     file: /gitlab/python.yml
+    branch: relative-paths-on-coverage-reports
diff --git a/pyproject.toml b/pyproject.toml
index 783f402..c86a63d 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -87,9 +87,9 @@ line-length = 80
 
 [tool.pytest.ini_options]
 addopts = [
-    "--import-mode=append",
+    "--cov=exposed",
     "--cov-report=term-missing",
-    "--cov=src",
+    "--import-mode=append",
 ]
 junit_logging = "all"
 junit_log_passing_tests = false
-- 
GitLab