Skip to content

Merge pull request #504 from kafkaex/KAYROCK-migrate-sync-group #213

Merge pull request #504 from kafkaex/KAYROCK-migrate-sync-group

Merge pull request #504 from kafkaex/KAYROCK-migrate-sync-group #213

Workflow file for this run

name: CI Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Test Suite
runs-on: ubuntu-22.04
timeout-minutes: 30
env:
MIX_ENV: test
strategy:
fail-fast: false
matrix:
pair:
- elixir: 1.18
otp: 27.2
- elixir: 1.16
otp: 26.2
- elixir: 1.14
otp: 24.3
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Elixir & Erlang
uses: erlef/setup-beam@v1.18
with:
elixir-version: ${{ matrix.pair.elixir }}
otp-version: ${{ matrix.pair.otp }}
- name: Restore dependencies cache
uses: actions/cache@v4
with:
path: |
deps
_build
key: ${{ runner.os }}-mix-${{ matrix.pair.otp }}-${{ matrix.pair.elixir }}-${{ hashFiles('**/mix.lock') }}
restore-keys: |
${{ runner.os }}-mix-${{ matrix.pair.otp }}-${{ matrix.pair.elixir }}-
- name: Install dependencies
run: |
mix local.rebar --force
mix local.hex --force
mix deps.get
mix deps.compile
- name: Docker-compose up
run: ./scripts/docker_up.sh
- name: Docker ps
run: docker ps -a
- name: Run Tests
run: mix test