1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-13 06:10:54 +00:00
Beego/test.sh

15 lines
263 B
Bash
Raw Normal View History

#!/bin/bash
docker-compose -f test_docker_compose.yaml up -d
export ORM_DRIVER=mysql
export TZ=UTC
export ORM_SOURCE="beego:test@tcp(localhost:13306)/orm_test?charset=utf8"
go test ./...
# clear all container
docker-compose -f test_docker_compose.yaml down