From 3654f0362d75b136d669387a9af885779be326ca Mon Sep 17 00:00:00 2001 From: halcy Date: Fri, 14 Feb 2025 00:19:23 +0200 Subject: [PATCH] pytest-runner is deprecated, apparently --- .circleci/config.yml | 18 +++++++++--------- pyproject.toml | 2 -- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 30d9f66..9ad54b4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,7 +10,7 @@ jobs: command: "pip install .[test_old,webpush,blurhash]" - run: name: "Run tests" - command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'" + command: "pytest --junitxml=tests/result.xml" - store_test_results: path: tests run-tests-37: @@ -23,7 +23,7 @@ jobs: command: "pip install .[test_old,webpush,blurhash]" - run: name: "Run tests" - command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'" + command: "pytest --junitxml=tests/result.xml" - store_test_results: path: tests run-tests-38: @@ -36,7 +36,7 @@ jobs: command: "pip install .[test_old,webpush,blurhash]" - run: name: "Run tests" - command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'" + command: "pytest --junitxml=tests/result.xml" - store_test_results: path: tests run-tests-39: @@ -49,7 +49,7 @@ jobs: command: "pip install .[test,webpush,blurhash]" - run: name: "Run tests" - command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'" + command: "pytest --junitxml=tests/result.xml" - store_test_results: path: tests run-tests-310: @@ -62,7 +62,7 @@ jobs: command: "pip install .[test,webpush,blurhash]" - run: name: "Run tests" - command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'" + command: "pytest --junitxml=tests/result.xml" - store_test_results: path: tests run-tests-311: @@ -75,7 +75,7 @@ jobs: command: "pip install .[test,webpush,blurhash]" - run: name: "Run tests" - command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'" + command: "pytest --junitxml=tests/result.xml" - store_test_results: path: tests run-tests-312-cov: @@ -91,7 +91,7 @@ jobs: command: "pip install codecov" - run: name: "Run tests" - command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'" + command: "pytest --junitxml=tests/result.xml" - store_test_results: path: tests - run: @@ -107,7 +107,7 @@ jobs: command: "pip install .[test,webpush,blurhash]" - run: name: "Run tests" - command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'" + command: "pytest --junitxml=tests/result.xml" - store_test_results: path: tests run-tests-314: @@ -120,7 +120,7 @@ jobs: command: "pip install .[test,webpush,blurhash]" - run: name: "Run tests" - command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'" + command: "pytest --junitxml=tests/result.xml" - store_test_results: path: tests workflows: diff --git a/pyproject.toml b/pyproject.toml index bf3e1a9..6883fff 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,6 @@ blurhash = [ ] test = [ 'pytest', - 'pytest-runner', 'pytest-cov', 'vcrpy', 'pytest-vcr', @@ -50,7 +49,6 @@ test = [ ] test_old = [ 'pytest', - 'pytest-runner', 'pytest-cov', 'vcrpy', 'pytest-vcr',