mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 12:37:00 +01:00
* otel can eprintln kthx * started python integration tests, features * more tests more things * adding heaps more things * updating docs * fixing python test * fixing errors, updating integration test * Add models for OAuth2, Person, ServiceAccount and add missing endpoints * Alias Group to GroupInfo to keep it retrocompatible * Fixed issues from review * adding oauth2rs_get_basic_secret * adding oauth2rs_get_basic_secret * Fixed mypy issues * adding more error logs * updating test scripts and configs * fixing tests and validating things * more errors --------- Co-authored-by: Dogeek <simon.bordeyne@gmail.com>
22 lines
471 B
Bash
Executable file
22 lines
471 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# sets up the venv and runs the integration test
|
|
|
|
MYDIR="$(dirname "$0")"
|
|
|
|
if [ ! -d ".venv" ]; then
|
|
echo "Setting up virtualenv"
|
|
python -m venv .venv
|
|
# shellcheck disable=SC1091
|
|
source .venv/bin/activate
|
|
pip install --upgrade pip
|
|
pip install poetry pytest ruff mypy black
|
|
echo "Installing in virtualenv"
|
|
pip install -e pykanidm
|
|
fi
|
|
|
|
# shellcheck disable=SC1091
|
|
source .venv/bin/activate
|
|
|
|
python "${MYDIR}/integration_test.py"
|