Add dep for run test in CI

This commit is contained in:
nicolargo 2024-12-28 18:20:20 +01:00
parent 8fb49d99b1
commit b33cd3fd2b
1 changed files with 4 additions and 3 deletions

View File

@ -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