mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 22:40:09 +01:00
fix testing on pypy
This commit is contained in:
parent
4dd7ecf640
commit
7172afdd81
5 changed files with 27 additions and 24 deletions
|
|
@ -1,17 +1,22 @@
|
|||
#!/bin/bash
|
||||
|
||||
read -r -a env_paths <<< "${CONDA_ENV_PATHS//, /$IFS}";
|
||||
read -r -a env_py_paths <<< "${CONDA_ENV_BIN_PYTHON_PATHS//, /$IFS}";
|
||||
read -r -a env_names <<< "${CONDA_ENV_NAMES//, /$IFS}";
|
||||
|
||||
for i in ${!env_paths[@]}; do
|
||||
env_path=${env_paths[i]};
|
||||
env_path_python=${env_path}/bin/python;
|
||||
for i in ${!env_py_paths[@]}; do
|
||||
env_path_python=${env_py_paths[i]};
|
||||
env_name=${env_names[i]};
|
||||
|
||||
${env_path_python} -m pip install --upgrade --quiet pip;
|
||||
|
||||
echo "updating ${env_name} pypi deps ...";
|
||||
|
||||
# pytest is required in every environment to run the test suite
|
||||
# against the installed modules.
|
||||
${env_path_python} -m pip install \
|
||||
--disable-pip-version-check --upgrade --quiet \
|
||||
pytest;
|
||||
|
||||
${env_path_python} -m pip install \
|
||||
--disable-pip-version-check --upgrade --quiet \
|
||||
--requirement=requirements/pypi.txt;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue