From 362f4e4a10f1d12b1cea6839bf61ff525ac03345 Mon Sep 17 00:00:00 2001 From: Alyssa Travitz Date: Fri, 10 Jan 2025 09:18:48 -0800 Subject: [PATCH] move addopts to pyproject.toml --- .github/workflows/ci.yaml | 2 +- pyproject.toml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 30c9bde..b2f2758 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -64,7 +64,7 @@ jobs: micromamba list - name: "Run tests" run: | - pytest -n auto -v --cov=konnektor --cov-report=xml --ignore=dev + pytest -n auto -v --cov-report=xml - name: "Test Notebooks" run: | # another dep I don't want to include in the env diff --git a/pyproject.toml b/pyproject.toml index 067b8a3..d28f134 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -66,3 +66,6 @@ default-tag = "0.0.0" [tool.versioningit.write] file = "src/konnektor/_version.py" + +[tool.pytest.ini_options] +addopts = "--ignore=dev --cov=konnektor" \ No newline at end of file