diff --git a/ansible/tasks/test-image.yml b/ansible/tasks/test-image.yml index d8e951a3e..ab826abb1 100644 --- a/ansible/tasks/test-image.yml +++ b/ansible/tasks/test-image.yml @@ -79,8 +79,6 @@ - '*postgis*.sql' - '*pgrouting*.sql' - '*plv8*.sql' - - '*pg_jsonschema*.sql' - - '*pg_graphql*.sql' register: files_to_remove when: is_psql_oriole @@ -91,29 +89,6 @@ loop: "{{ files_to_remove.files }}" when: is_psql_oriole become: yes - - - name: Remove specified extensions from SQL file - ansible.builtin.command: - cmd: > - sed -i "/'pg_graphql',/d" /tmp/unit-tests/unit-test-01.sql - when: is_psql_oriole - become: yes - - - name: Remove graphql schema test - lineinfile: - path: /tmp/migrations/tests/database/exists.sql - regexp: "^SELECT has_schema\\('graphql'\\);$" - state: absent - become: yes - when: is_psql_oriole - - - name: Remove graphql schema test - lineinfile: - path: /tmp/migrations/tests/database/exists.sql - regexp: "^SELECT has_schema\\('graphql_public'\\);$" - state: absent - become: yes - when: is_psql_oriole - name: Run Unit tests (with filename unit-test-*) on Postgres Database shell: /usr/bin/pg_prove -U postgres -h localhost -d postgres -v /tmp/unit-tests/unit-test-*.sql