From f1f94727fbd6a2559bf50349dec2c02f87a988f7 Mon Sep 17 00:00:00 2001 From: Aydin <108932477+Aydinhamedi@users.noreply.github.com> Date: Wed, 10 Jan 2024 15:11:40 +0330 Subject: [PATCH] Update python-app.yml --- .github/workflows/python-app.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 5cc4d8d..130de9b 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -27,7 +27,9 @@ jobs: run: | python -m pip install --upgrade pip pip install flake8 pytest - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + if [ -f requirements.txt ]; then + grep -v 'gpu-control' requirements.txt | xargs pip install + fi - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names