Add asv to CI
@@ -63,16 +63,18 @@ jobs:
- name: flake8
run: |
flake8 dedupe tests benchmarks/benchmarks
- - name: Static Testing
+ - name: mypy
run: |
mypy --ignore-missing-imports dedupe
- - name: Integration test, record link
+ - name: Benchmarking & Integration tests
+ # From https://github.com/pandas-dev/pandas/blob/60ac973e64ba364b345aea22bf988272536aa42f/.github/workflows/asv-bot.yml
run: |
- python benchmarks/benchmarks/canonical_gazetteer.py -vv
- python benchmarks/benchmarks/canonical_matching.py -vv
- - name: Integration test, dedupe
- run: |
- python benchmarks/benchmarks/canonical.py -vv
+ cd benchmarks
+ asv check -E existing
+ git remote add upstream https://github.com/dedupeio/dedupe.git
+ git fetch upstream
+ asv machine --yes
+ asv continuous -f 1.1 upstream/master HEAD
finish:
needs: test
runs-on: ubuntu-latest
