test github actions
This commit is contained in:
committed by
Bastien Gerard
parent
6b5231265c
commit
fe9f7f1f80
8
.github/workflows/start_mongo.sh
vendored
Normal file
8
.github/workflows/start_mongo.sh
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
MONGODB=$1
|
||||
|
||||
mongodb_dir=${PWD}/mongodb-linux-x86_64-${MONGODB}
|
||||
mkdir $mongodb_dir/data
|
||||
$mongodb_dir/bin/mongod --dbpath $mongodb_dir/data --logpath $mongodb_dir/mongodb.log --fork
|
||||
mongo --eval 'db.version();' # Make sure mongo is awake
|
||||
Reference in New Issue
Block a user