File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ export default defineConfig({
7474
7575 webServer : [
7676 {
77- command : './tests/start-test-server.sh 2.10.1 ' ,
77+ command : './tests/start-test-server.sh --branch 2153-data-structure-for-filters ' ,
7878 port : 8000 ,
7979 waitForPort : true ,
8080 stdout : 'pipe' ,
Original file line number Diff line number Diff line change 44set -e
55
66# Check fractal-server version argument
7- if [ $# -ne 1 ]; then
8- echo " Usage: $0 <fractal-server-version>"
7+ if [ $# -eq 2 ] && [ " $1 " = " --branch" ]; then
8+ pip_arg=" git+https://github.com/fractal-analytics-platform/fractal-server.git@$2 "
9+ elif [ $# -eq 1 ]; then
10+ pip_arg=" fractal-server==$1 "
11+ else
12+ echo " Usage: $0 [--branch] <fractal-server-version>"
913 exit 2
1014fi
1115
@@ -30,7 +34,7 @@ if [ ! -d "$fractal_server_test_path" ]; then
3034 # Virtualenv, dependencies and db
3135 python3 -m venv myenv
3236 . myenv/bin/activate
33- pip install " fractal-server== $1 "
37+ pip install " $pip_arg "
3438 fractalctl set-db
3539else
3640 cd " $fractal_server_test_path "
You can’t perform that action at this time.
0 commit comments