Skip to content

Commit

Permalink
pytest-benchmark extra for benchmarking
Browse files Browse the repository at this point in the history
  • Loading branch information
leriomaggio committed Feb 17, 2021
1 parent 7c67081 commit 62dfcff
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ install:
- "conda create -q -n test-environment python=%PYTHON_VERSION% numpy scipy scikit-learn numba pandas bokeh holoviews datashader scikit-image pytest"
- activate test-environment
- pip install "tensorflow>=2.1"
- pip install pytest-benchmark
- pip install -e .

test_script:
Expand Down
8 changes: 4 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
displayName: 'Install package'
- script: |
pip install pytest
pip install pytest pytest-benchmark
pytest --show-capture=no -v --disable-warnings --junitxml=pytest.xml
displayName: 'Run tests'
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
displayName: 'Install package'
- script: |
pip install pytest
pip install pytest pytest-benchmark
pytest --show-capture=no -v --disable-warnings --junitxml=pytest.xml
displayName: 'Run tests'
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
displayName: 'Install package'
- script: |
pip install pytest
pip install pytest pytest-benchmark
pytest --show-capture=no -v --disable-warnings --junitxml=pytest.xml
displayName: 'Run tests'
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
pip install -e .
pip install .[plot]
pip install .[parametric_umap]
pip install pytest
pip install pytest pytest-benchmark
pip install pytest-cov
pip install coveralls
displayName: 'Install package'
Expand Down
4 changes: 2 additions & 2 deletions ci_scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ if [[ "$DISTRIB" == "conda" ]]; then
conda install --yes "tensorflow>=2.0.0"
else
conda create -q -n testenv --yes python=$PYTHON_VERSION numpy scipy scikit-learn \
numba pandas bokeh holoviews datashader scikit-image pytest \
numba pandas bokeh holoviews datashader scikit-image pytest pytest-benchmark \
"tensorflow-mkl>=2.2.0"
fi

Expand All @@ -64,7 +64,7 @@ if [[ "$DISTRIB" == "conda" ]]; then

if [[ "$COVERAGE" == "true" ]]; then
pip install coverage coveralls
pip install pytest-cov # pytest coverage plugin
pip install pytest-cov pytest-benchmark # pytest coverage plugin
fi

python --version
Expand Down

0 comments on commit 62dfcff

Please sign in to comment.