From 7cd4b8b1dd53cdb2739132ff132e1114854322fb Mon Sep 17 00:00:00 2001 From: sfmig <33267254+sfmig@users.noreply.github.com> Date: Fri, 24 May 2024 16:34:18 +0100 Subject: [PATCH] Check asv benchmarks without existing flag --- .github/workflows/test_and_deploy.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index dede360..148b2e1 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -82,23 +82,23 @@ jobs: - uses: actions/setup-python@v5 with: python-version: "3.10" - - name: Install asv + - name: Install asv shell: bash run: | python -mpip install --upgrade pip - # We install the project to benchmark because we run `asv check` with the `existing` flag. - python -mpip install . + # install asv python -mpip install asv - name: Run asv check shell: bash run: | cd benchmarks - # With `existing`, the benchmarked project must be already installed, including all dependencies. - # see https://asv.readthedocs.io/en/v0.6.3/commands.html#asv-check + # check benchmarks with pip dependencies asv check -v -E existing --config $GITHUB_WORKSPACE/benchmarks/asv.pip.conf.json - asv check -v -E existing --config $GITHUB_WORKSPACE/benchmarks/asv.latest-github.conf.json + + # check benchmarks with latest-github dependencies + asv check -v --config $GITHUB_WORKSPACE/benchmarks/asv.latest-github.conf.json build_sdist_wheels: name: Build source distribution