From 1e268fae790d85945d9b9b13fe11c6aa6cf2baf9 Mon Sep 17 00:00:00 2001 From: Santiago Silva Date: Mon, 7 Oct 2024 23:58:00 +0200 Subject: [PATCH] fix: ci --- .github/workflows/benchmarks.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/benchmarks.yaml b/.github/workflows/benchmarks.yaml index ba7fb2601b..45fd2868d5 100644 --- a/.github/workflows/benchmarks.yaml +++ b/.github/workflows/benchmarks.yaml @@ -18,16 +18,16 @@ jobs: with: python-version: "3.12" - - uses: astral-sh/setup-uv@v3 - with: - enable-cache: true - cache-dependency-glob: pyproject.toml - - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.base.sha }} fetch-depth: 0 + - uses: astral-sh/setup-uv@v3 + with: + enable-cache: true + cache-dependency-glob: pyproject.toml + - run: uv pip install '.[tests]' --system - name: run benchmarks on base branch run: pytest --benchmark-autosave dvc/testing/benchmarks/ -k 'test_init or test_help'