Skip to content

Commit bb88b16

Browse files
committed
Clean up PR (#400)
* update changelog * fix CI/CD errors
1 parent ef8e771 commit bb88b16

File tree

5 files changed

+10
-2
lines changed

5 files changed

+10
-2
lines changed

.github/workflows/documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ jobs:
158158
uses: actions/checkout@v3
159159
with:
160160
repository: google/bloaty
161-
ref: 379d5305670c00c36a57e608079fd253f13bde63
161+
ref: e1155149d54bb09b81e86f0e4e5cb7fbd2a318eb
162162
path: tools/bloaty
163163
submodules: recursive
164164
- name: Install bloaty

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
run: ./build/mo_unit_tests --abort
5353
- name: Create coverage report
5454
run: |
55-
lcov --directory . --capture --output-file coverage.info
55+
lcov --directory . --capture --output-file coverage.info --ignore-errors mismatch
5656
lcov --remove coverage.info '/usr/*' '*/tests/*' '*/ArduinoJson.h' --output-file coverage.info
5757
lcov --list coverage.info
5858
- name: Upload coverage reports to Codecov

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,21 @@
77
- Change `MicroOcpp::TxNotification` into C-style enum, replace `OCPP_TxNotication` ([#386](https://github.com/matth-x/MicroOcpp/pull/386))
88
- Improved UUID generation ([#383](https://github.com/matth-x/MicroOcpp/pull/383))
99
- `beginTransaction()` returns bool for better v2.0.1 interop ([#386](https://github.com/matth-x/MicroOcpp/pull/386))
10+
- Configurations C-API updates ([#400](https://github.com/matth-x/MicroOcpp/pull/400))
11+
- Platform integrations C-API upates ([#400](https://github.com/matth-x/MicroOcpp/pull/400))
1012

1113
### Added
1214

1315
- `getTransactionV201()` exposes v201 Tx in API ([#386](https://github.com/matth-x/MicroOcpp/pull/386))
1416
- v201 support in Transaction.h C-API ([#386](https://github.com/matth-x/MicroOcpp/pull/386))
17+
- Write-only Configurations ([#400](https://github.com/matth-x/MicroOcpp/pull/400))
1518

1619
### Fixed
1720

1821
- Timing issues for OCTT test cases ([#383](https://github.com/matth-x/MicroOcpp/pull/383))
1922
- Misleading Reset failure dbg msg ([#388](https://github.com/matth-x/MicroOcpp/pull/388))
2023
- Reject negative ints in ChangeConfig ([#388](https://github.com/matth-x/MicroOcpp/pull/388))
24+
- Revised SCons integration ([#400](https://github.com/matth-x/MicroOcpp/pull/400))
2125

2226
## [1.2.0] - 2024-11-03
2327

tests/Api.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
#include <catch2/catch.hpp>
1414
#include "./helpers/testHelper.h"
1515

16+
#include <array>
17+
1618
#define BASE_TIME "2023-01-01T00:00:00.000Z"
1719
#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}]}}}]"
1820

tests/ChargingSessions.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
#include <catch2/catch.hpp>
1717
#include "./helpers/testHelper.h"
1818

19+
#include <array>
20+
1921
#define BASE_TIME "2023-01-01T00:00:00.000Z"
2022

2123
using namespace MicroOcpp;

0 commit comments

Comments
 (0)