more env vars
This commit is contained in:
parent
a0b1da26a5
commit
a5b9309f88
2 changed files with 3 additions and 3 deletions
4
.github/workflows/lint_and_test.yml
vendored
4
.github/workflows/lint_and_test.yml
vendored
|
|
@ -50,8 +50,8 @@ jobs:
|
|||
|
||||
- name: Create and Migrate database
|
||||
run: |
|
||||
docker compose exec -T phx MIX_ENV=test mix ecto.create
|
||||
docker compose exec -T phx MIX_ENV=test mix ecto.migrate
|
||||
docker compose exec -T phx mix ecto.create
|
||||
docker compose exec -T phx mix ecto.migrate
|
||||
|
||||
- name: Run code checks
|
||||
run: docker compose exec -T phx mix check --no-fix --no-retry
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ COPY . ./
|
|||
|
||||
# Install Elixir deps
|
||||
# RUN mix archive.install github hexpm/hex branch latest
|
||||
RUN mix deps.get && mix deps.compile
|
||||
RUN MIX_ENV=dev mix deps.get && MIX_ENV=dev mix deps.compile
|
||||
RUN MIX_ENV=test mix deps.get && MIX_ENV=test mix deps.compile
|
||||
# Gives us iex shell history
|
||||
ENV ERL_AFLAGS="-kernel shell_history enabled"
|
||||
|
|
|
|||
Loading…
Reference in a new issue