Skip to content

Commit d1e06d4

Browse files
committed
fix: refine sed regex
1 parent c35fa68 commit d1e06d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ansible/tasks/test-image.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@
7272
- name: Remove specified extensions from SQL file
7373
ansible.builtin.command:
7474
cmd: >
75-
sed -i '/\(timescaledb\|postgis\|pgrouting\|plv8\|pgvector\)/d'
76-
/tmp/migrations/tests/test.sql
77-
when: is_psql_oriole_16 and stage2_nix
75+
sed -i '/\\ir.*\(timescaledb\|postgis\|pgrouting\|plv8\|pgvector\).*\.sql/d' /tmp/migrations/tests/test.sql
76+
when: is_psql_oriole_16
7877
become: yes
7978

8079

80+
8181
- name: Run migrations tests
8282
shell: /usr/bin/pg_prove -U supabase_admin -h localhost -d postgres -v tests/test.sql
8383
register: retval

0 commit comments

Comments
 (0)