mirror of
https://github.com/gravitl/netmaker.git
synced 2026-04-22 16:07:11 +08:00
add script to run from action
This commit is contained in:
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
docker run -d \
|
||||
-e MONGO_INITDB_ROOT_USERNAME:='mongoadmin' \
|
||||
-e MONGO_INITDB_ROOT_PASSWORD:='mongopass' \
|
||||
-p 27017:27017 mongo:4.2
|
||||
go run . --clientmode=off
|
||||
cd test
|
||||
go test . -v
|
||||
Reference in New Issue
Block a user