Skip to content

Commit

Permalink
add timeout to test
Browse files Browse the repository at this point in the history
  • Loading branch information
Czaki committed Jan 13, 2021
1 parent a35a3a8 commit 674131f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions azure-pipelines.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
variables:
CIBW_TEST_COMMAND: python -m pytest {project}/imagecodecs_src//tests/
CIBW_TEST_COMMAND: python -m pytest {project}/imagecodecs_src//tests/ --timeout=300
CIBW_TEST_REQUIRES: -r requirements_azure.txt
CIBW_MANYLINUX_X86_64_IMAGE: bokota/imagecodecs_64:2021.1.12
CIBW_MANYLINUX_I686_IMAGE: bokota/imagecodecs_i686:2021.1.12
Expand Down Expand Up @@ -69,7 +69,7 @@ stages:
- script: pip install -e imagecodecs_src
displayName: "install package"

- script: pytest imagecodecs_src/tests
- script: pytest imagecodecs_src/tests --timeout=300
displayName: "run test"

- job: linux_wheel
Expand Down Expand Up @@ -227,7 +227,7 @@ stages:
- bash: pip install ${CIBW_TEST_REQUIRES}
displayName: "install test dependencies"

- script: pytest imagecodecs_src/tests
- script: pytest imagecodecs_src/tests --timeout=300
displayName: "run test"

- job: macos_wheel
Expand Down
1 change: 1 addition & 0 deletions requirements_test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ git+https://github.com/Czaki/bitshuffle@no_hdf5
Brotli==1.0.7
zopflipy==1.4
python-snappy==0.5.4
pytest-timeout

0 comments on commit 674131f

Please sign in to comment.