mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 09:01:38 +00:00
11 lines
269 B
Bash
Executable file
11 lines
269 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
cd "$( dirname "${BASH_SOURCE[0]}" )"
|
|
|
|
export PYTHONPATH=$PWD/scripts:$PYTHONPATH
|
|
# This env is required by all the scripts
|
|
export SEAFILE_VERSION=$(cat image/seafile/Dockerfile | sed -r -n 's/.*SEAFILE_VERSION=([0-9.]+).*/\1/p')
|
|
pytest tests/unit
|