CI: debug
This commit is contained in:
parent
e1aa1f25d2
commit
2eedea24a8
2 changed files with 4 additions and 1 deletions
2
.github/actions/setup-db/entrypoint.sh
vendored
2
.github/actions/setup-db/entrypoint.sh
vendored
|
|
@ -50,7 +50,7 @@ startPostgres() {
|
||||||
|
|
||||||
startSQLite3() {
|
startSQLite3() {
|
||||||
echo "Start SQLite3"
|
echo "Start SQLite3"
|
||||||
echo "DB_HOST=file:$INPUT_DB.db" >> $GITHUB_ENV
|
echo "DB_HOST=file:$XIANG_ROOT/db/$INPUT_DB.db" >> $GITHUB_ENV
|
||||||
echo "DB_DRIVER=sqlite3" >> $GITHUB_ENV
|
echo "DB_DRIVER=sqlite3" >> $GITHUB_ENV
|
||||||
echo "DB_NAME=sqlite3" >> $GITHUB_ENV
|
echo "DB_NAME=sqlite3" >> $GITHUB_ENV
|
||||||
echo "$DB_HOST"
|
echo "$DB_HOST"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
package global
|
package global
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"fmt"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
|
|
@ -24,6 +25,8 @@ func TestProcessSearch(t *testing.T) {
|
||||||
|
|
||||||
// Debug
|
// Debug
|
||||||
utils.Dump(config.Conf)
|
utils.Dump(config.Conf)
|
||||||
|
fmt.Println("Models Count:", len(gou.Models))
|
||||||
|
fmt.Println("Tables Count:", len(table.Tables))
|
||||||
sch := capsule.Schema()
|
sch := capsule.Schema()
|
||||||
utils.Dump(sch.MustGetTables())
|
utils.Dump(sch.MustGetTables())
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue