Skip to content

use test as mix env in ci #46

use test as mix env in ci

use test as mix env in ci #46

Workflow file for this run

on: push
env:
OTP_VERSION: 24.0
ELIXIR_VERSION: 1.13.3
MIX_ENV: test
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ env.OTP_VERSION }}
elixir-version: ${{ env.ELIXIR_VERSION }}
- run: echo 'JAVA=SCRIPT\nER=LANG' > .env
- run: mix deps.get
- run: mix check
- run: mix test
- name: Elixir Hex, mix build Cache
uses: actions/cache@v2
id: mix-cache
with:
path: |
deps
_build
priv/plts
key: ${{ runner.os }}-${{ env.OTP_VERSION }}-${{ env.ELIXIR_VERSION }}-${{ hashFiles('mix.lock') }}