Merge pull request #105 from krns/feature/support-ecto-3-12-0 #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
- push | |
- pull_request | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: "postgres:13" | |
ports: | |
- 5432:5432 | |
env: | |
POSTGRES_HOST_AUTH_METHOD: trust | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: erlef/setup-elixir@v1 | |
with: | |
otp-version: '23.2.6' | |
elixir-version: '1.11.3' | |
- run: mix local.rebar --force | |
- run: mix local.hex --force | |
- run: mix deps.get | |
- run: MIX_ENV=test mix db.reset | |
- run: mix test |