File tree Expand file tree Collapse file tree 2 files changed +14
-7
lines changed Expand file tree Collapse file tree 2 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 57
57
LOCALE_ARCHIVE : /usr/lib/locale/locale-archive
58
58
when : stage2_nix
59
59
60
- - name : Run Unit tests (with filename unit-test-*) on Postgres Database
61
- shell : /usr/bin/pg_prove -U postgres -h localhost -d postgres -v /tmp/unit-tests/unit-test-*.sql
62
- register : retval
63
- failed_when : retval.rc != 0
64
- when : debpkg_mode or stage2_nix
65
60
66
61
- name : Check psql_version and modify migrations if oriole-xx
67
62
block :
95
90
loop : " {{ files_to_remove.files }}"
96
91
when : is_psql_oriole
97
92
become : yes
98
-
93
+
94
+ - name : Remove specified extensions from SQL file
95
+ ansible.builtin.command :
96
+ cmd : >
97
+ sed -i "/'pg_graphql',/d" /tmp/unit-tests/unit-test-01.sql
98
+ when : is_psql_oriole
99
+ become : yes
100
+
101
+ - name : Run Unit tests (with filename unit-test-*) on Postgres Database
102
+ shell : /usr/bin/pg_prove -U postgres -h localhost -d postgres -v /tmp/unit-tests/unit-test-*.sql
103
+ register : retval
104
+ failed_when : retval.rc != 0
105
+ when : debpkg_mode or stage2_nix
99
106
100
107
- name : Run migrations tests
101
108
shell : /usr/bin/pg_prove -U supabase_admin -h localhost -d postgres -v tests/test.sql
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ buildPgrxExtension_0_12_6 rec {
30
30
} ;
31
31
32
32
nativeBuildInputs = [ pkg-config cargo ] ;
33
- buildInputs = [ openssl postgresql ] ++ lib . optionals ( stdenv . isDarwin ) [
33
+ buildInputs = [ openssl postgresql git ] ++ lib . optionals ( stdenv . isDarwin ) [
34
34
darwin . apple_sdk . frameworks . CoreFoundation
35
35
darwin . apple_sdk . frameworks . Security
36
36
darwin . apple_sdk . frameworks . SystemConfiguration
You can’t perform that action at this time.
0 commit comments