From 1209fa805441828ada1d7d484e974313a733354a Mon Sep 17 00:00:00 2001 From: Roland Date: Mon, 12 Feb 2024 11:52:03 -0700 Subject: [PATCH] Modifying pytest config to test wrolpi directories. --- .circleci/config.yml | 10 +++++----- pytest.ini | 3 +++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8c93862e..e7946204 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -87,7 +87,7 @@ jobs: paths: - "venv" - run: - command: './venv/bin/pytest -svv wrolpi modules' + command: './venv/bin/pytest -svv' api-tests-3-9: docker: - image: cimg/python:3.9 @@ -114,7 +114,7 @@ jobs: paths: - "venv" - run: - command: './venv/bin/pytest -svv wrolpi modules' + command: './venv/bin/pytest -svv' api-tests-3-10: docker: - image: cimg/python:3.10 @@ -141,7 +141,7 @@ jobs: paths: - "venv" - run: - command: './venv/bin/pytest -svv wrolpi modules' + command: './venv/bin/pytest -svv' api-tests-3-11: docker: - image: cimg/python:3.11 @@ -168,7 +168,7 @@ jobs: paths: - "venv" - run: - command: './venv/bin/pytest -svv wrolpi modules' + command: './venv/bin/pytest -svv' api-tests-3-12: docker: - image: cimg/python:3.12 @@ -195,7 +195,7 @@ jobs: paths: - "venv" - run: - command: './venv/bin/pytest -svv wrolpi modules' + command: './venv/bin/pytest -svv' workflows: wrolpi-api-tests: diff --git a/pytest.ini b/pytest.ini index 40880458..19652fb6 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,2 +1,5 @@ [pytest] asyncio_mode=auto +testpaths = + wrolpi + modules