test github actions

This commit is contained in:
Bastien Gérard
2020-11-02 20:31:23 +01:00
committed by Bastien Gerard
parent 6b5231265c
commit fe9f7f1f80
4 changed files with 75 additions and 0 deletions

8
.github/workflows/start_mongo.sh vendored Normal file
View 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