@davoodmehraban89 / Factor-easy / commits / 9ce450a
Fork 0

سامانه صدور فاکتور و حسابداری

ci: execute attachment allocator candidate in disposable local PostgreSQL (#216)

davoodmehraban89 committed Nov 18, 2026 at 09:49 UTC 9ce450a592f6e56cb9d3536f2de12d7bda43211f
1 file changed +9
.github/workflows/wp1-ledger.yml
+9
@@ -81,6 +81,15 @@ jobs:
81 psql "$DB_URL" -v ON_ERROR_STOP=1 -f supabase/tests/wp1_phase1a_security_grants.sql
82 psql "$DB_URL" -v ON_ERROR_STOP=1 -f supabase/tests/wp1_phase1a_stage1_all_definer_security.sql
83
84 + - name: Prove isolated draft-first attachment allocator
85 + run: |
86 + set -euo pipefail
87 + supabase status -o env > /tmp/supabase-local.env
88 + set -a
89 + . /tmp/supabase-local.env
90 + set +a
91 + psql "$DB_URL" -v ON_ERROR_STOP=1 -f supabase/tests/0216_attachment_candidate.sql
92 +
93 - name: Verify WP1/WP2 journal RPC functions exist
94 run: |
95 set -euo pipefail