@ -1,5 +1,5 @@
---
name: CI / CD
name: Test & Release
on:
schedule:
- cron: "* * */5 * *"
@ -79,7 +79,7 @@ jobs:
- name: Test docs
run: . activate.sh && cd docs && make doctest && cd ..
- name: Test code
timeout-minutes: 10
timeout-minutes: 6
run: . activate.sh && poetry run pytest -v --cov . --cov-report xml:coverage.xml
- name: Send codeclimate analytics
if: matrix.python-version == '3.10'
@ -27,7 +27,7 @@ def retry(times: int):
times -= 1
if not times:
raise exc
while account.get_open_orders(cro.pairs.CRO_USDT):
while await account.get_open_orders(cro.pairs.CRO_USDT):
await account.cancel_open_orders(cro.pairs.CRO_USDT)
return wrapper