From fda297703f1c406aa8544b8942150a8fc438f65c Mon Sep 17 00:00:00 2001 From: Younes Belkada <49240599+younesbelkada@users.noreply.github.com> Date: Mon, 20 Nov 2023 12:42:58 +0100 Subject: [PATCH] [`test` / `peft`] Fix silent behaviour on PR tests (#5852) Update pr_test_peft_backend.yml --- .github/workflows/pr_test_peft_backend.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr_test_peft_backend.yml b/.github/workflows/pr_test_peft_backend.yml index 78050ffe82..97aea28bdb 100644 --- a/.github/workflows/pr_test_peft_backend.yml +++ b/.github/workflows/pr_test_peft_backend.yml @@ -45,7 +45,7 @@ jobs: run: | apt-get update && apt-get install libsndfile1-dev libgl1 -y python -m pip install -e .[quality,test] - if [ "${{ matrix.lib-version }}" == "main" ]; then + if [ "${{ matrix.lib-versions }}" == "main" ]; then python -m pip install -U git+https://github.com/huggingface/peft.git python -m pip install -U git+https://github.com/huggingface/transformers.git python -m pip install -U git+https://github.com/huggingface/accelerate.git @@ -62,4 +62,4 @@ jobs: python -m pytest -n 2 --max-worker-restart=0 --dist=loadfile \ -s -v \ --make-reports=tests_${{ matrix.config.report }} \ - tests/lora/test_lora_layers_peft.py \ No newline at end of file + tests/lora/test_lora_layers_peft.py