mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-07 13:44:17 +08:00
add script to run from action
This commit is contained in:
parent
d4b6c2f081
commit
ffd50ed615
1 changed files with 8 additions and 0 deletions
8
test/test.script
Executable file
8
test/test.script
Executable file
|
@ -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
|
Loading…
Add table
Reference in a new issue