From 2a061fdaf72af7d1f73b870e280d23d13a436275 Mon Sep 17 00:00:00 2001 From: matth-x <63792403+matth-x@users.noreply.github.com> Date: Sun, 2 Feb 2025 18:13:32 +0100 Subject: [PATCH 1/7] Fix compilation error --- tests/ChargingSessions.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/ChargingSessions.cpp b/tests/ChargingSessions.cpp index 1ac9bdef..82090f16 100644 --- a/tests/ChargingSessions.cpp +++ b/tests/ChargingSessions.cpp @@ -16,6 +16,8 @@ #include #include "./helpers/testHelper.h" +#include + #define BASE_TIME "2023-01-01T00:00:00.000Z" using namespace MicroOcpp; From fc0956db3acf9fd4d9043a2a3afa224fa4953957 Mon Sep 17 00:00:00 2001 From: matth-x <63792403+matth-x@users.noreply.github.com> Date: Sun, 2 Feb 2025 18:22:35 +0100 Subject: [PATCH 2/7] Fix compilation error II --- tests/ChargingSessions.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/ChargingSessions.cpp b/tests/ChargingSessions.cpp index 82090f16..a52c6f86 100644 --- a/tests/ChargingSessions.cpp +++ b/tests/ChargingSessions.cpp @@ -17,6 +17,7 @@ #include "./helpers/testHelper.h" #include +#include #define BASE_TIME "2023-01-01T00:00:00.000Z" From 00cd58a687880534d47a3a0f4cdaca981f4090ba Mon Sep 17 00:00:00 2001 From: matth-x <63792403+matth-x@users.noreply.github.com> Date: Sun, 2 Feb 2025 18:28:37 +0100 Subject: [PATCH 3/7] Fix compilation error III --- tests/ChargingSessions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ChargingSessions.cpp b/tests/ChargingSessions.cpp index a52c6f86..a0aeb424 100644 --- a/tests/ChargingSessions.cpp +++ b/tests/ChargingSessions.cpp @@ -17,7 +17,7 @@ #include "./helpers/testHelper.h" #include -#include +#include #define BASE_TIME "2023-01-01T00:00:00.000Z" From cc557ae2c2cc93de123bf03ec249b960923f5880 Mon Sep 17 00:00:00 2001 From: matth-x <63792403+matth-x@users.noreply.github.com> Date: Sun, 2 Feb 2025 18:39:44 +0100 Subject: [PATCH 4/7] Fix compilation error IV --- tests/Api.cpp | 2 ++ tests/ChargingSessions.cpp | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Api.cpp b/tests/Api.cpp index 41f9f8a6..c2470172 100644 --- a/tests/Api.cpp +++ b/tests/Api.cpp @@ -13,6 +13,8 @@ #include #include "./helpers/testHelper.h" +#include + #define BASE_TIME "2023-01-01T00:00:00.000Z" #define SCPROFILE "[2,\"testmsg\",\"SetChargingProfile\",{\"connectorId\":0,\"csChargingProfiles\":{\"chargingProfileId\":0,\"stackLevel\":0,\"chargingProfilePurpose\":\"ChargePointMaxProfile\",\"chargingProfileKind\":\"Absolute\",\"chargingSchedule\":{\"duration\":1000000,\"startSchedule\":\"2023-01-01T00:00:00.000Z\",\"chargingRateUnit\":\"W\",\"chargingSchedulePeriod\":[{\"startPeriod\":0,\"limit\":16,\"numberPhases\":3}]}}}]" diff --git a/tests/ChargingSessions.cpp b/tests/ChargingSessions.cpp index a0aeb424..82090f16 100644 --- a/tests/ChargingSessions.cpp +++ b/tests/ChargingSessions.cpp @@ -17,7 +17,6 @@ #include "./helpers/testHelper.h" #include -#include #define BASE_TIME "2023-01-01T00:00:00.000Z" From 431f5ac63c25f11f15d6d48bf9e0a53fdbf53e08 Mon Sep 17 00:00:00 2001 From: matth-x <63792403+matth-x@users.noreply.github.com> Date: Sun, 2 Feb 2025 19:21:35 +0100 Subject: [PATCH 5/7] Fix compilation error V --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e086761f..2b96b480 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -52,7 +52,7 @@ jobs: run: ./build/mo_unit_tests --abort - name: Create coverage report run: | - lcov --directory . --capture --output-file coverage.info + lcov --directory . --capture --output-file coverage.info --ignore-errors: mismatch lcov --remove coverage.info '/usr/*' '*/tests/*' '*/ArduinoJson.h' --output-file coverage.info lcov --list coverage.info - name: Upload coverage reports to Codecov From 992c63e77bef8c1990b1c7eeec2a99583ef9fef2 Mon Sep 17 00:00:00 2001 From: matth-x <63792403+matth-x@users.noreply.github.com> Date: Sun, 2 Feb 2025 19:26:54 +0100 Subject: [PATCH 6/7] Fix compilation error VI --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2b96b480..3288a443 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -52,7 +52,7 @@ jobs: run: ./build/mo_unit_tests --abort - name: Create coverage report run: | - lcov --directory . --capture --output-file coverage.info --ignore-errors: mismatch + lcov --directory . --capture --output-file coverage.info --ignore-errors mismatch lcov --remove coverage.info '/usr/*' '*/tests/*' '*/ArduinoJson.h' --output-file coverage.info lcov --list coverage.info - name: Upload coverage reports to Codecov From c5d0d9514249b11168ccdec55460491e03e4cd9f Mon Sep 17 00:00:00 2001 From: matth-x <63792403+matth-x@users.noreply.github.com> Date: Sun, 2 Feb 2025 19:40:49 +0100 Subject: [PATCH 7/7] Fix compilation error VII --- .github/workflows/documentation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index a861ed91..7fc6acd6 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -158,7 +158,7 @@ jobs: uses: actions/checkout@v3 with: repository: google/bloaty - ref: 379d5305670c00c36a57e608079fd253f13bde63 + ref: e1155149d54bb09b81e86f0e4e5cb7fbd2a318eb path: tools/bloaty submodules: recursive - name: Install bloaty