Fix pgTAP single-file working dir by Flamki · Pull Request #4838 · supabase/cli
Fixes #4850
When running a single pgTAP test file, pg_prove was invoked with only the file bind-mounted.
This meant psql \ir includes (relative to the file) failed because the directory wasn’t mounted
and working dir didn’t resolve correctly.
Change:
- Mount the test file’s directory (or the test directory itself) into the container
- Set WorkingDir to that directory
- De-duplicate/sort binds