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