From eef54b2c7ab3c0dca2d182b3b685daa774c991a6 Mon Sep 17 00:00:00 2001 From: Pierre de Lacroix Date: Wed, 20 Jan 2021 22:36:32 +0100 Subject: ci: fix MIX_ENV in compilation step + uncomment dialyzer job --- .gitlab-ci.yml | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6233c52..b1771a5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -73,22 +73,19 @@ credo: paths: - "credo.log" -## this should be uncommented when -## https://gitlab.com/gitlab-org/gitlab-runner/-/issues/27172 -## is fixed -# dialyzer: -# stage: dialyzer -# needs: -# - prepare_test -# script: -# - mix dialyzer -# cache: -# <<: *global_cache -# policy: pull-push -# paths: -# - _build -# - deps -# - priv/plts +dialyzer: + stage: dialyzer + needs: + - prepare_test + script: + - mix dialyzer + cache: + <<: *global_cache + policy: pull-push + paths: + - _build + - deps + - priv/plts # Doc generation @@ -98,7 +95,7 @@ prepare_dev: only: - master variables: - MIX_ENV: test + MIX_ENV: dev script: - mix deps.get - mix compile -- cgit v1.2.3