diff options
author | Pierre de Lacroix <pierre@pdelacroix.com> | 2020-12-26 13:59:27 +0000 |
---|---|---|
committer | Pierre de Lacroix <pierre@pdelacroix.com> | 2020-12-26 13:59:27 +0000 |
commit | 006b2c12cf658ea71ea2e0c4ca105041c2834569 (patch) | |
tree | d3c24da6782f80c4043ba5f59241107f73850b1e /mix.exs | |
parent | allow runtime configuration of homserver token (diff) | |
parent | Improve CI (diff) |
Merge branch '8-improve-ci' into 'master'
Improve CI
Closes #8.
- change image to `bitwalker/alpine-elixir:1.10.4`
- 5 stages, 2 sequences in parallel: 1 cache for dev, 1 for test
- 2 artifacts for reports
- 1 artifact for dialyzer PLT (cache as artifact so that it still caches on fail)
See merge request kazarma/matrix_app_service.ex!9
Diffstat (limited to 'mix.exs')
-rw-r--r-- | mix.exs | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -17,7 +17,13 @@ defmodule MatrixAppService.MixProject do aliases: aliases(), deps: deps(), docs: [main: "MatrixAppService"], - test_coverage: test_coverage(System.get_env("CI")) + test_coverage: test_coverage(System.get_env("CI")), + + # elixirc_options: [warnings_as_errors: true], + dialyzer: [ + plt_file: {:no_warn, "priv/plts/dialyzer.plt"}, + ignore_warnings: ".dialyzer_ignore.exs" + ] ] end @@ -65,7 +71,9 @@ defmodule MatrixAppService.MixProject do {:ex_doc, "~> 0.22", only: :dev, runtime: false}, {:junit_formatter, "~> 3.1", only: :test}, {:cobertura_cover, "~> 0.9.0", only: :test}, - {:postgrex, ">= 0.0.0", only: :test} + {:postgrex, ">= 0.0.0", only: :test}, + {:credo, "~> 1.4.1", only: [:dev, :test], runtime: false}, + {:dialyxir, "~> 1.0.0", only: [:dev, :test], runtime: false} ] end |