From 78283c35e4beb051bfd9682cf585f6bced5861c8 Mon Sep 17 00:00:00 2001 From: Drew Leonard Date: Thu, 8 Aug 2024 12:11:32 +0100 Subject: [PATCH] Helps if you remember how the tests are actually running --- .github/workflows/codspeed.yml | 1 + tox.ini | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codspeed.yml b/.github/workflows/codspeed.yml index ea87f95c..068f779f 100644 --- a/.github/workflows/codspeed.yml +++ b/.github/workflows/codspeed.yml @@ -16,6 +16,7 @@ jobs: with: python-version: '3.12' - run: python -m pip install .[tests] pytest-codspeed 'numpy<2' + - run: python -c "from dkist.data.sample import download_all_sample_data; download_all_sample_data()" - name: Run benchmarks uses: CodspeedHQ/action@v3 with: diff --git a/tox.ini b/tox.ini index 42a8f3e2..4e2ebe5f 100644 --- a/tox.ini +++ b/tox.ini @@ -58,7 +58,6 @@ extras = commands_pre = oldestdeps: minimum_dependencies dkist --filename requirements-min.txt oldestdeps: pip install -r requirements-min.txt cryptography<42 jsonschema==4.0.1 - benchmarks: python -c "from dkist.data.sample import download_all_sample_data; download_all_sample_data()" figure: python -c "from dkist.data.sample import download_all_sample_data; download_all_sample_data()" pip freeze --all --no-input commands =