diff options
author | Pierre de Lacroix <pierre@pdelacroix.com> | 2020-12-09 12:10:39 +0000 |
---|---|---|
committer | Pierre de Lacroix <pierre@pdelacroix.com> | 2020-12-09 12:10:39 +0000 |
commit | d189c923eb7e63fb7cb8c6dbd8816f7ca3b9384f (patch) | |
tree | db6fede8164782facfae767d970bdf5838ce92e6 /.gitlab-ci.yml | |
parent | update description (diff) | |
parent | fix tests in CI (diff) |
Merge branch 'repo_setup' into 'master'
Repo setup
See merge request kazarma/matrix_app_service.ex!13
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1dfcee7..9d6c6d8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,8 +11,18 @@ before_script: test: stage: static_analysis + services: + - postgres:latest + variables: + POSTGRES_DB: matrix_app_service_test + POSTGRES_USER: postgres + POSTGRES_PASSWORD: postgres + POSTGRES_HOST: postgres + POSTGRES_HOST_AUTH_METHOD: trust script: - MIX_ENV=test mix compile + - MIX_ENV=test mix ecto.create + - MIX_ENV=test mix ecto.migrate - mix test --cover artifacts: when: always |