Skip to content

Commit

Permalink
CI: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
trheyi committed Oct 7, 2021
1 parent e1aa1f2 commit 2eedea2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/setup-db/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ startPostgres() {

startSQLite3() {
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_NAME=sqlite3" >> $GITHUB_ENV
echo "$DB_HOST"
Expand Down
3 changes: 3 additions & 0 deletions global/process_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package global

import (
"fmt"
"testing"

"github.com/gin-gonic/gin"
Expand All @@ -24,6 +25,8 @@ func TestProcessSearch(t *testing.T) {

// Debug
utils.Dump(config.Conf)
fmt.Println("Models Count:", len(gou.Models))
fmt.Println("Tables Count:", len(table.Tables))
sch := capsule.Schema()
utils.Dump(sch.MustGetTables())

Expand Down

0 comments on commit 2eedea2

Please sign in to comment.