From d9b1a1343be0a0982b96616346d2d283f5583f03 Mon Sep 17 00:00:00 2001 From: Arthur Pastel Date: Thu, 10 Aug 2023 16:44:19 +0200 Subject: [PATCH] Bump pytest-codspeed to v2.1.0 Moved the dependency to tests/requirements.txt so that the python cache works appropriately when pytest-codspeed is bumped --- .github/workflows/codspeed.yml | 2 +- tests/requirements.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codspeed.yml b/.github/workflows/codspeed.yml index 6da8714de..43c2b5a48 100644 --- a/.github/workflows/codspeed.yml +++ b/.github/workflows/codspeed.yml @@ -37,7 +37,7 @@ jobs: - run: pip uninstall pytest-speed -y if: steps.cache-py.outputs.cache-hit != 'true' - - run: pip install pytest-codspeed~=1.2.0 pytest-benchmark==4.0.0 + - run: pip install pytest-benchmark==4.0.0 if: steps.cache-py.outputs.cache-hit != 'true' - name: install rust stable diff --git a/tests/requirements.txt b/tests/requirements.txt index 462fc420d..837851c74 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -2,6 +2,7 @@ coverage==7.2.7 dirty-equals==0.6.0 hypothesis==6.79.4 pytest==7.4.0 +pytest-codspeed~=2.1.0 pytest-examples==0.0.10 pytest-speed==0.3.5 pytest-mock==3.11.1