mirror of https://github.com/nicolargo/glances.git
Add dep for run test in CI
This commit is contained in:
parent
8fb49d99b1
commit
b33cd3fd2b
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue