diff --git a/.github/workflows/test_coverage.yml b/.github/workflows/test_coverage.yml index b01a53195..6b0c9af12 100644 --- a/.github/workflows/test_coverage.yml +++ b/.github/workflows/test_coverage.yml @@ -67,6 +67,6 @@ jobs: TG_API_HASH: ${{ secrets.TG_API_HASH }} TG_BOT_USERNAME: ${{ secrets.TG_BOT_USERNAME }} HF_API_KEY: ${{ secrets.HF_API_KEY }} - GDF_ACCOUNT_JSON: ./gdf_account.json + GDF_ACCOUNT_JSON: ${{ env.GDF_ACCOUNT_JSON }} run: | make test TEST_ALLOW_SKIP=telegram diff --git a/.github/workflows/test_full.yml b/.github/workflows/test_full.yml index 700994a73..5f140b4cc 100644 --- a/.github/workflows/test_full.yml +++ b/.github/workflows/test_full.yml @@ -56,7 +56,7 @@ jobs: TG_API_HASH: ${{ secrets.TG_API_HASH }} TG_BOT_USERNAME: ${{ secrets.TG_BOT_USERNAME }} HF_API_KEY: ${{ secrets.HF_API_KEY }} - GDF_ACCOUNT_JSON: ./gdf_account.json + GDF_ACCOUNT_JSON: ${{ env.GDF_ACCOUNT_JSON }} run: | if [ "$RUNNER_OS" == "Linux" ]; then source <(cat .env_file | sed 's/=/=/' | sed 's/^/export /') @@ -102,7 +102,7 @@ jobs: TG_API_HASH: ${{ secrets.TG_API_HASH }} TG_BOT_USERNAME: ${{ secrets.TG_BOT_USERNAME }} HF_API_KEY: ${{ secrets.HF_API_KEY }} - GDF_ACCOUNT_JSON: ./gdf_account.json + GDF_ACCOUNT_JSON: ${{ env.GDF_ACCOUNT_JSON }} run: | source <(cat .env_file | sed 's/=/=/' | sed 's/^/export /') pytest --tb=long -vv --cache-clear --no-cov --allow-skip=all tests/