1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 09:51:45 +00:00
This commit is contained in:
deadc0de6
2025-12-30 23:10:30 +01:00
committed by deadc0de
parent 7bbb243382
commit b8f39858aa

8
tests.sh vendored
View File

@@ -5,6 +5,9 @@
# stop on first error
set -eu -o errtrace -o pipefail
cur=$(cd "$(dirname "${0}")" && pwd)
in_cicd="${GITHUB_ACTIONS:-}"
MULTI_PYTHON="" # set to test multi python envs
PYTHON_VERSIONS=("3.6" "3.7" "3.8" "3.9" "3.10" "3.11" "3.12" "3.13" "3.14")
@@ -37,9 +40,6 @@ test()
fi
}
cur=$(cd "$(dirname "${0}")" && pwd)
in_cicd="${GITHUB_ACTIONS:-}"
if [ -n "${in_cicd}" ]; then
# patch TERM var in ci/cd
if [ -z "${TERM}" ]; then
@@ -71,6 +71,7 @@ else
pyenv install -s "${PY}"
pyenv shell "${PY}"
python -m venv ".venv"
# shellcheck disable=SC1091
source ".venv/bin/activate"
pip install pip --upgrade
pip install -r requirements.txt
@@ -80,6 +81,7 @@ else
done
else
python3 -m venv ".venv"
# shellcheck disable=SC1091
source ".venv/bin/activate"
pip install pip --upgrade
pip install -r requirements.txt