Skip to content

OctoBot-Trading-Cron #1109

OctoBot-Trading-Cron

OctoBot-Trading-Cron #1109

Workflow file for this run

name: OctoBot-Trading-Cron
on:
schedule:
- cron: '0 5 * * *' # every day at 5am
jobs:
real-exchange-tests:
name: ubuntu-latest - Python 3.10 - ${{ matrix.exchange }} - real exchange tests
runs-on: ubuntu-latest
strategy:
matrix:
exchange: [ ascendex, binance, bitfinex, bitget, bithumb, bitso, bitstamp, bittrex, bybit, bybit_futures, coinex, gateio, hitbtc, hollaex, huobi, huobipro, kraken, kucoin, kucoin_futures, ndax, okcoin, okx, okx_futures, phemex, poloniex, upbit, wavesexchange]
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10.x'
architecture: 'x64'
- name: Install dependencies
run: pip install --prefer-binary -r dev_requirements.txt -r requirements.txt
- name: Pytests
run: pytest -rw tests_additional/real_exchanges/test_${{ matrix.exchange }}.py
notify:
if: ${{ failure() }}
needs:
- real-exchange-tests
uses: Drakkar-Software/.github/.github/workflows/failure_notify_workflow.yml@master
secrets:
DISCORD_GITHUB_WEBHOOK: ${{ secrets.DISCORD_GITHUB_WEBHOOK }}