Skip to content

Bump orjson from 3.6.8 to 3.10.12 in /packages/core/minos-microservice-common #924

Bump orjson from 3.6.8 to 3.10.12 in /packages/core/minos-microservice-common

Bump orjson from 3.6.8 to 3.10.12 in /packages/core/minos-microservice-common #924

name: "Test: minos-broker-kafka"
on:
push:
branches:
- main
- '*.*.x'
pull_request:
paths:
- 'packages/plugins/minos-broker-kafka/**'
- 'packages/core/minos-microservice-networks/**'
- 'packages/core/minos-microservice-common/**'
jobs:
build:
runs-on: ubuntu-latest
container: python:3.9-buster
defaults:
run:
working-directory: packages/plugins/minos-broker-kafka
services:
zookeeper:
image: wurstmeister/zookeeper:latest
ports:
- 2181:2181
kafka:
image: wurstmeister/kafka:latest
ports:
- 9092:9092
env:
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_ADVERTISED_HOST_NAME: kafka
KAFKA_DELETE_TOPIC_ENABLE: "true"
env:
MINOS_BROKER_HOST: kafka
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Install dependencies
run: make install
- name: Lint package
run: make lint
- name: Test package with coverage
run: make coverage
- name: Publish coverage
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./packages/plugins/minos-broker-kafka/coverage.xml
fail_ci_if_error: true
- name: Generate documentation
run: make docs
- name: Generate build
run: make dist