Skip to content

Commit

Permalink
Check benchmarks on CI (#96)
Browse files Browse the repository at this point in the history
* remove benchmark tests

* add benchmark check after tests

* recover codecov token

* add a separate benchmarks checking job

* fix missing dependencies
  • Loading branch information
sfmig committed May 1, 2024
1 parent 62a61b1 commit e175ec8
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 100 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,23 @@ jobs:
python-version: ${{ matrix.python-version }}
secret-codecov-token: ${{ secrets.CODECOV_TOKEN }}

benchmarks:
name: Check benchmarks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
shell: bash
run: |
python -mpip install --upgrade pip
python -mpip install .[asv_version]
- name: Run asv check
shell: bash
run: asv check -v -E existing

build_sdist_wheels:
name: Build source distribution
needs: [test]
Expand Down
Empty file removed tests/benchmarks/__init__.py
Empty file.
100 changes: 0 additions & 100 deletions tests/benchmarks/test_cellfinder.py

This file was deleted.

0 comments on commit e175ec8

Please sign in to comment.