Commit 728f2e93 authored by Felix Delattre's avatar Felix Delattre
Browse files

Added sql linter

parent 7e6872e0
Pipeline #29441 passed with stage
in 1 minute and 4 seconds
image: debian:bookworm-slim
linter:
before_script:
- apt-get update -y
- apt-get install python3-pip -y -qq
- pip install sqlfluff
script:
- sqlfluff lint --dialect postgres
test:
before_script:
- apt-get update -y
- apt-get install postgresql -y -qq
services:
- name: $CI_REGISTRY/dynamicexposure/server-components/containers/docker-obm-database:master
alias: postgres
......
......@@ -5,4 +5,4 @@ CREATE TABLE public.gde_tiles
);
ALTER TABLE public.gde_tiles
OWNER to postgres;
OWNER TO postgres;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment