From b33cd3fd2bd204ed4a59455095b1d6c80249384f Mon Sep 17 00:00:00 2001 From: nicolargo Date: Sat, 28 Dec 2024 18:20:20 +0100 Subject: [PATCH] Add dep for run test in CI --- .github/workflows/test.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index db050d038..3ad0c9c9c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -52,7 +52,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install pytest + if [ -f dev-requirements.txt ]; then python -m pip install -r dev-requirements.txt; fi if [ -f requirements.txt ]; then python -m pip install -r requirements.txt; fi - name: Unitary tests @@ -84,7 +84,7 @@ jobs: # - name: Install dependencies # run: | # python -m pip install --upgrade pip - # pip install pytest + # if (Test-Path -PathType Leaf "dev-requirements.txt") { python -m pip install -r dev-requirements.txt } # if (Test-Path -PathType Leaf "requirements.txt") { python -m pip install -r requirements.txt } # pip install . @@ -115,7 +115,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install pytest + if [ -f dev-requirements.txt ]; then python -m pip install -r dev-requirements.txt; fi if [ -f requirements.txt ]; then python -m pip install -r requirements.txt; fi - name: Unitary tests @@ -141,5 +141,6 @@ jobs: # run: | # set -e -x # python3 -m pip install pytest + # python3 -m pip install --user -r dev-requirements.txt # python3 -m pip install --user -r requirements.txt # python3 -m pytest ./tests/test_core.py