From 1c2d8ad4f3605dac9274d67a09ae5c830f230895 Mon Sep 17 00:00:00 2001 From: Ben Mares Date: Fri, 6 Sep 2024 13:25:52 +0200 Subject: [PATCH] Enable doctests --- .github/workflows/tests.yml | 4 ++-- pytest.ini | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9cd83fd05..83c0e799b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -38,7 +38,7 @@ jobs: - name: Running serial tests shell: bash -l {0} run: | - pytest tests \ + pytest \ -vv \ -n 0 \ -m "serial" \ @@ -54,7 +54,7 @@ jobs: - name: Running parallel tests shell: bash -l {0} run: | - pytest tests \ + pytest \ -vv \ -n 0 \ -m "not serial" \ diff --git a/pytest.ini b/pytest.ini index 048f43276..9e80a78d6 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,8 +1,8 @@ [pytest] junit_family=xunit2 junit_duration_report=call -addopts = -ra -q -testpaths = tests +addopts = -ra -q --doctest-modules +testpaths = grayskull tests markers = serial: Mark for tests which cannot be executed in parallel github: Tests which need to communicate with github and might reach the limit of github requisitions