Change to debian #170
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: CI | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install OTP and Elixir | |
uses: erlef/setup-beam@v1 | |
with: | |
otp-version: 27.1.2 | |
elixir-version: 1.17.3 | |
- name: Install dependencies | |
run: | | |
mix deps.get | |
mix deps.compile | |
- name: Check mix format | |
run: mix format --check-formatted | |
- name: Start Typesense | |
run: docker compose up -d typesense | |
- name: Run tests | |
run: | | |
mix test --include typesense |