diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index e7120a1..6ff2eff 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -19,9 +19,8 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -U pip wheel - pip install flake8 pytest numpy==1.23.5 - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + pip install flake8 pytest + if [ -f requirements.txt ]; then cat requirements.txt | xargs -L1 pip install; fi - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names