File tree Expand file tree Collapse file tree
frontend/packages/db/supabase Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 run : supabase start
2727 - name : Setup supabase testing
2828 run : |
29- psql -v ON_ERROR_STOP=1 -U postgres -d postgres -h localhost -p 54322 -f .github/workflows /setup-testing.sql
29+ psql -v ON_ERROR_STOP=1 -U postgres -d postgres -h localhost -p 54322 -f frontend/packages/db/supabase /setup-testing.sql
3030 env :
3131 PGPASSWORD : postgres
3232 - name : Run Tests
File renamed without changes.
Original file line number Diff line number Diff line change @@ -8,17 +8,6 @@ if ! command -v pnpm &> /dev/null; then
88 exit 1
99fi
1010
11- # Find the project root directory (where .github is located)
12- cd $( pwd)
13- while [ ! -d " .github" ] && [ " $( pwd) " != " /" ]; do
14- cd ..
15- done
16-
17- if [ ! -d " .github" ]; then
18- echo " Could not find project root directory with .github folder"
19- exit 1
20- fi
21-
2211PROJECT_ROOT=$( pwd)
2312echo " Project root: $PROJECT_ROOT "
2413
3322
3423# Set up the testing environment
3524echo " Setting up the testing environment..."
36- PGPASSWORD=postgres psql -U postgres -d postgres -h localhost -p 54322 -f " $PROJECT_ROOT /.github/workflows /setup-testing.sql"
25+ PGPASSWORD=postgres psql -U postgres -d postgres -h localhost -p 54322 -f " $PROJECT_ROOT /frontend/packages/db/supabase /setup-testing.sql"
3726
3827# Change to the directory with the tests
3928cd " $PROJECT_ROOT /frontend/packages/db/supabase"
You can’t perform that action at this time.
0 commit comments