Skip to content

Adds a default transition_changeset/4 #76

Adds a default transition_changeset/4

Adds a default transition_changeset/4 #76

Workflow file for this run

name: Test Suite
on:
push:
branches:
- master
- "pr-*"
tags:
- "*"
pull_request:
types: [opened, synchronize]
jobs:
test:
strategy:
matrix:
elixir: ['1.13', '1.14', '1.15']
runs-on: ubuntu-latest
container:
image: elixir:${{ matrix.elixir }}-otp-25-alpine
env:
POSTGRES_HOST: postgres
MIX_ENV: test
services:
postgres:
image: postgres:9.6.2
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: fsmx_test
ports:
- 5432:5432
steps:
- uses: actions/checkout@v2
- name: Setup Deps Cache
uses: actions/cache@v1
with:
path: deps
key: v1-deps-${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
restore-keys: |
v1-deps-${{ runner.os }}-
- name: Setup Build Cache
uses: actions/cache@v1
with:
path: _build
key: v1-build-${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
restore-keys: |
v1-build-${{ runner.os }}-
- run: mix local.hex --force
- run: mix local.rebar --force
- run: mix deps.get
- run: mix deps.compile
- run: mix compile
- run: MIX_ENV=test mix ecto.migrate
- run: mix test