From c7a3b2ed31ce3c49c8f9b84569fa67129bd59fa2 Mon Sep 17 00:00:00 2001 From: Anton Lozhkov Date: Wed, 31 Aug 2022 17:26:20 +0200 Subject: [PATCH] Fix GPU tests (token + single-process) (#294) --- .github/workflows/push_tests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/push_tests.yml b/.github/workflows/push_tests.yml index 18cf047e2c..301114ea56 100644 --- a/.github/workflows/push_tests.yml +++ b/.github/workflows/push_tests.yml @@ -46,5 +46,7 @@ jobs: python utils/print_env.py - name: Run all (incl. slow) tests on GPU + env: + HF_API_TOKEN: ${{ secrets.HF_API_TOKEN }} run: | - python -m pytest -n 2 --max-worker-restart=0 --dist=loadfile -s tests/ + python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile -s tests/