From e29f87650931326e06097f1abd23aab854cabc4c Mon Sep 17 00:00:00 2001 From: Herklos Date: Sun, 12 Sep 2021 15:07:11 +0200 Subject: [PATCH] [CRON] Fix credentials --- .github/workflows/cron.yml | 5 +++++ .github/workflows/main.yml | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index b2ce8dd0c..cedef5c2e 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -33,6 +33,9 @@ jobs: python start.py tentacles --install --location "../any_platform.zip" --all - name: Compile project + env: + BINANCE_API_KEY: ${{ secrets.BINANCE_API_KEY }} + BINANCE_API_SECRET: ${{ secrets.BINANCE_API_SECRET }} run: | cd OctoBot python setup.py build_ext --inplace @@ -41,6 +44,8 @@ jobs: - name: Pytests env: CYTHON_IGNORE: True + BINANCE_API_KEY: ${{ secrets.BINANCE_API_KEY }} + BINANCE_API_SECRET: ${{ secrets.BINANCE_API_SECRET }} run: | cd OctoBot pytest --cov=. --cov-config=.coveragerc --durations=0 -rw tentacles/Trading/Exchange diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9997f5545..b4e052dc4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -90,16 +90,11 @@ jobs: if: matrix.type == 'cython' env: CYTHON_IGNORE: True - BINANCE_API_KEY: ${{ secrets.BINANCE_API_KEY }} - BINANCE_API_SECRET: ${{ secrets.BINANCE_API_SECRET }} run: | cd OctoBot pytest --cov=. --cov-config=.coveragerc --durations=0 -rw --ignore=tentacles/Trading/Exchange tentacles - name: Pytests - env: - BINANCE_API_KEY: ${{ secrets.BINANCE_API_KEY }} - BINANCE_API_SECRET: ${{ secrets.BINANCE_API_SECRET }} if: matrix.type != 'cython' run: | cd OctoBot