Skip to content

Bump coverage from 6.3.2 to 7.6.4 in /packages/core/minos-microservice-networks #552

Bump coverage from 6.3.2 to 7.6.4 in /packages/core/minos-microservice-networks

Bump coverage from 6.3.2 to 7.6.4 in /packages/core/minos-microservice-networks #552

name: "Test: minos-broker-rabbitmq"
on:
push:
branches:
- main
- '*.*.x'
pull_request:
paths:
- 'packages/plugins/minos-broker-rabbitmq/**'
- '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-rabbitmq
services:
rabbitmq:
image: rabbitmq:3
ports:
- 5672:5672
env:
MINOS_BROKER_HOST: rabbitmq
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-rabbitmq/coverage.xml
fail_ci_if_error: true
- name: Generate documentation
run: make docs
- name: Generate build
run: make dist