From 4d2167f81a0e1875e615a177669b2308c002c974 Mon Sep 17 00:00:00 2001 From: Tom Sasani Date: Thu, 11 Jan 2024 14:30:42 -0500 Subject: [PATCH] fix github workflow to install requirements in right order --- .github/workflows/tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 5a9cd43..4efdc3f 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -20,7 +20,7 @@ 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 xargs -L 1 pip install < requirements.txt; fi - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names