File tree Expand file tree Collapse file tree
src/test/java/picoded/dstack/jsql Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Java CI
22on :
33 push :
4- branches : [ master ]
4+ branches : [ master, eugene/* ]
55 pull_request :
66 branches : [ master ]
77jobs :
88 build :
99 runs-on : ubuntu-latest
10+
11+ services :
12+ mysql :
13+ image : mysql:8.0
14+ env :
15+ MYSQL_DATABASE : JAVACOMMONS
16+ MYSQL_USER : JAVACOMMONS
17+ MYSQL_PASSWORD : JAVACOMMONS
18+ MYSQL_ROOT_PASSWORD : ROOTPASSWD
19+ ports :
20+ - 3306:3306
21+ options : --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
22+
1023 steps :
1124 - uses : actions/checkout@v1
1225 - name : Init submodules
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ private static boolean isLocalPortInUse(int port) {
6161 //-------------------------------//
6262 // Default Credentials for MYSQL //
6363 //-------------------------------//
64- static private String MYSQL_HOST = "demodb-mysql.picoded-dev.com " ;
64+ static private String MYSQL_HOST = "localhost " ;
6565 static private String MYSQL_DATA = "JAVACOMMONS" ;
6666 static private String MYSQL_USER = "JAVACOMMONS" ;
6767 static private String MYSQL_PASS = "JAVACOMMONS" ;
You can’t perform that action at this time.
0 commit comments