diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml index c7bd1003a..cefa331de 100644 --- a/.github/workflows/performance.yml +++ b/.github/workflows/performance.yml @@ -31,4 +31,4 @@ jobs: uses: CodSpeedHQ/action@v3 with: token: ${{ secrets.CODSPEED_TOKEN }} - run: poetry run pytest benchmarks/test_evaluate.py --codspeed + run: poetry run pytest tests/benchmarks --codspeed diff --git a/tests/benchmarks/test_evaluate.py b/tests/benchmarks/test_evaluate.py index 34d0c7da6..04c18a72a 100644 --- a/tests/benchmarks/test_evaluate.py +++ b/tests/benchmarks/test_evaluate.py @@ -4,5 +4,5 @@ from .fixtures import _complicated_page @pytest.mark.benchmark -def test_component_init(): +def test_evaluate_page(): _complicated_page()