From 53fe64d015d92fe2fe59449e9677c87b46d79bea Mon Sep 17 00:00:00 2001 From: Bruno Iljazovic Date: Fri, 31 Jan 2025 14:34:29 +0100 Subject: [PATCH] boost/mqtt5 in coverage Reviewers: ivica Reviewed By: ivica Subscribers: korina, miljen Differential Revision: https://repo.mireo.local/D33488 --- .github/workflows/coverage.yml | 5 +---- README.md | 3 ++- codecov.yml | 2 +- include/boost/mqtt5/impl/read_message_op.hpp | 1 - 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 048e464..53a47fc 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -77,9 +77,7 @@ jobs: - name: Generate Coverage Report run: | lcov --capture --output-file coverage.info --directory test/build - lcov --remove coverage.info '/usr/include/*' --output-file coverage.info - lcov --remove coverage.info '**/test/*' --output-file coverage.info - lcov --remove coverage.info '**/boost/*' --output-file coverage.info + lcov --extract coverage.info '**/boost/mqtt5/*' --output-file coverage.info - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v4 @@ -90,4 +88,3 @@ jobs: fail_ci_if_error: true plugin: noop token: ${{ secrets.CODECOV_TOKEN }} - diff --git a/README.md b/README.md index 0b68d57..d24e5fc 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,8 @@ Boost.MQTT5: A C++17 MQTT client based on Boost.Asio Branch | Windows/Linux Build | Coverage | Documentation | -------|---------------------|----------|---------------| -[`master`](https://github.com/mireo/async-mqtt5/tree/master) | [![build status](https://github.com/mireo/async-mqtt5/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/mireo/async-mqtt5/actions/workflows/ci.yml) | [![codecov](https://codecov.io/gh/mireo/async-mqtt5/branch/master/graph/badge.svg)](https://codecov.io/gh/mireo/async-mqtt5/branch/master) | [Documentation](https://spacetime.mireo.com/async-mqtt5/) +[`master`](https://github.com/mireo/async-mqtt5/tree/master) | [![build status](https://github.com/mireo/async-mqtt5/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/mireo/async-mqtt5/actions/workflows/ci.yml) | [![codecov](https://codecov.io/gh/mireo/async-mqtt5/branch/master/graph/badge.svg)](https://codecov.io/gh/mireo/async-mqtt5/branch/master) | [documentation](https://spacetime.mireo.com/async-mqtt5/) +[`develop`](https://github.com/mireo/async-mqtt5/tree/develop) | [![build status](https://github.com/mireo/async-mqtt5/actions/workflows/ci.yml/badge.svg?branch=develop)](https://github.com/mireo/async-mqtt5/actions/workflows/ci.yml) | [![codecov](https://codecov.io/gh/mireo/async-mqtt5/branch/develop/graph/badge.svg)](https://codecov.io/gh/mireo/async-mqtt5/branch/develop) | Boost.MQTT5 is a professional, industrial-grade C++17 client built on [Boost.Asio](https://www.boost.org/doc/libs/1_82_0/doc/html/boost_asio.html). This Client is designed for publishing or receiving messages from an MQTT 5.0 compatible Broker. Boost.MQTT5 represents a comprehensive implementation of the MQTT 5.0 protocol standard, offering full support for publishing or receiving messages with QoS 0, 1, and 2. diff --git a/codecov.yml b/codecov.yml index b994f17..461cfcf 100644 --- a/codecov.yml +++ b/codecov.yml @@ -31,4 +31,4 @@ github_checks: annotations: true fixes: - - ".*/async_mqtt5/::include/async_mqtt5/" + - ".*/boost/mqtt5/::include/boost/mqtt5/" diff --git a/include/boost/mqtt5/impl/read_message_op.hpp b/include/boost/mqtt5/impl/read_message_op.hpp index 338dad4..cf8c15e 100644 --- a/include/boost/mqtt5/impl/read_message_op.hpp +++ b/include/boost/mqtt5/impl/read_message_op.hpp @@ -18,7 +18,6 @@ #include #include -#include #include #include #include