Skip to content

Fix CI and Integration test #27

Fix CI and Integration test

Fix CI and Integration test #27

Workflow file for this run

---
name: test
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize]
jobs:
test:
name: Erlang/OTP ${{matrix.otp}} / rebar3 ${{matrix.rebar3}} / Elixir ${{matrix.elixir}}
runs-on: ubuntu-latest
strategy:
matrix:
otp: ['27', '28']
rebar3: ['3.25.0']
elixir: ['1.17', '1.19']
env:
KC_KAFKA_BROKER_SECRET: ${{ secrets.KC_KAFKA_BROKER_SECRET }}
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
rebar3-version: ${{matrix.rebar3}}
elixir-version: ${{matrix.elixir}}
- name: Common Tests
run: rebar3 test
- name: Install docker compose
run: |
curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
- name: Integration tests
run: cd examples && ./run.sh