File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11VERSION 0.6
22
33elixir-base :
4- FROM elixir:1.12.2 -alpine
4+ FROM --platform=$BUILDPLATFORM elixir:1.18.4-otp-27 -alpine
55 WORKDIR /app
66 RUN apk add --no-progress --update openssh-client git build-base
77 RUN mix local.rebar --force && mix local.hex --force
2727 FROM earthly/dind:alpine
2828 WORKDIR /test
2929 RUN apk add --no-progress --update mysql-client
30-
30+
3131 COPY --dir config lib priv test .
32-
32+
3333 ARG MYSQL_IMG= "mysql:8.0"
3434
3535 WITH DOCKER --pull "$MYSQL_IMG" --load elixir:latest= +deps --build-arg MIX_ENV= "test"
4242 echo "waiting for mysql" ; \
4343 sleep 1; \
4444 done; \
45-
45+
4646 docker run \
4747 --rm \
4848 -e DATABASE_TEST_URL
= "ecto://root:[email protected] :3306/captain_hook" \ 5555 -v "$PWD/test:/app/test" \
5656 -w /app \
5757 --name captain_hook \
58- elixir :latest mix test --cover ;
58+ elixir :latest mix test --warnings-as-errors ;
5959 END
6060
6161check-tag :
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ defmodule CaptainHook.MixProject do
22 use Mix.Project
33
44 @ source_url "https://github.com/annatel/captain_hook"
5- @ version "3.2 .0"
5+ @ version "3.3 .0"
66
77 def project do
88 [
You can’t perform that action at this time.
0 commit comments