File: test-on

package info (click to toggle)
trash-cli 0.24.5.26-0.3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,972 kB
  • sloc: python: 9,789; sh: 121; makefile: 11
file content (14 lines) | stat: -rwxr-xr-x 296 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
SCRIPT_DIR="$(cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"

set -euo pipefail

export PYENV_VERSION="${1?}"

python --version
python -m venv ".venv-$PYENV_VERSION"
source ".venv-$PYENV_VERSION/bin/activate"
"$SCRIPT_DIR/lib/install-python-requirements"

pytest