add script to run from action

This commit is contained in:
Matthew R Kasun
2021-04-15 09:07:34 -04:00
parent d4b6c2f081
commit ffd50ed615
+8
View 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