Skip to content

Commit

Permalink
Check asv benchmarks without existing flag
Browse files Browse the repository at this point in the history
  • Loading branch information
sfmig committed May 24, 2024
1 parent 1c44673 commit 7cd4b8b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7cd4b8b

Please sign in to comment.