switch test timeout to signal
MODIFY
.github/workflows/main.yaml
.github/workflows/main.yaml
@@ -52,7 +52,7 @@ jobs:
- name: Run Tests
shell: bash -l {0}
run: |
- py.test tests --timeout 30 -v --cov=pangeo_forge_recipes --cov-config .coveragerc --cov-report term-missing
+ py.test tests -v --cov=pangeo_forge_recipes --cov-config .coveragerc --cov-report term-missing
coverage xml
- name: Codecov
uses: codecov/codecov-action@v1

MODIFY
setup.cfg
setup.cfg
@@ -65,6 +65,8 @@ line_length=100
[tool:pytest]
log_cli = False
+timeout = 30
+timeout_method = signal
# remove this once rechunker executors are factored into a standalone package
# that exports type hints (https://mypy.readthedocs.io/en/latest/installed_packages.html#installed-packages)

switch test timeout to signal