Trying to stabilize the CI build as the last build had only 20% coverage due to wrong detection
This commit is contained in:
@@ -16,6 +16,7 @@ build-debug:
|
|||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
- lnx
|
- lnx
|
||||||
|
- 64bit
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG == null
|
- if: $CI_COMMIT_TAG == null
|
||||||
script:
|
script:
|
||||||
@@ -32,7 +33,7 @@ build-debug:
|
|||||||
paths:
|
paths:
|
||||||
- artifacts/*.nupkg
|
- artifacts/*.nupkg
|
||||||
- artifacts/*.snupkg
|
- artifacts/*.snupkg
|
||||||
expire_in: 3 days
|
expire_in: 1 days
|
||||||
|
|
||||||
test-debug:
|
test-debug:
|
||||||
stage: test
|
stage: test
|
||||||
@@ -41,6 +42,7 @@ test-debug:
|
|||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
- lnx
|
- lnx
|
||||||
|
- 64bit
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG == null
|
- if: $CI_COMMIT_TAG == null
|
||||||
coverage: '/Total[^|]*\|[^|]*\|\s*([0-9.%]+)/'
|
coverage: '/Total[^|]*\|[^|]*\|\s*([0-9.%]+)/'
|
||||||
@@ -56,6 +58,7 @@ deploy-debug:
|
|||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
- lnx
|
- lnx
|
||||||
|
- 64bit
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG == null
|
- if: $CI_COMMIT_TAG == null
|
||||||
script:
|
script:
|
||||||
@@ -68,6 +71,7 @@ build-release:
|
|||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
- lnx
|
- lnx
|
||||||
|
- amd64
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG != null
|
- if: $CI_COMMIT_TAG != null
|
||||||
script:
|
script:
|
||||||
@@ -93,6 +97,7 @@ test-release:
|
|||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
- lnx
|
- lnx
|
||||||
|
- amd64
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG != null
|
- if: $CI_COMMIT_TAG != null
|
||||||
coverage: '/Total[^|]*\|[^|]*\|\s*([0-9.%]+)/'
|
coverage: '/Total[^|]*\|[^|]*\|\s*([0-9.%]+)/'
|
||||||
@@ -108,6 +113,7 @@ deploy-release:
|
|||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
- lnx
|
- lnx
|
||||||
|
- 64bit
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG != null
|
- if: $CI_COMMIT_TAG != null
|
||||||
script:
|
script:
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ If you want to speak a custom type of protocol with the clients, you can impleme
|
|||||||
|
|
||||||
**ModbusBaseClient**
|
**ModbusBaseClient**
|
||||||
This abstract base client contains all the basic methods and handlings required to communicate via Modbus Protocol.
|
This abstract base client contains all the basic methods and handlings required to communicate via Modbus Protocol.
|
||||||
The packages `AMWD.Protocols.Modbus.Serial` _(in progress)_ and `AMWD.Protocols.Modbus.Tcp` have specific derived implementations to match the communication types.
|
The packages `AMWD.Protocols.Modbus.Serial` _(in progress)_ and `AMWD.Protocols.Modbus.Tcp` _(in progress)_ have specific derived implementations to match the communication types.
|
||||||
|
|
||||||
|
|
||||||
### Enums
|
### Enums
|
||||||
@@ -40,6 +40,11 @@ The different types handled by the Modbus Protocol.
|
|||||||
- Holding Register
|
- Holding Register
|
||||||
- Input Register
|
- Input Register
|
||||||
|
|
||||||
|
In addition, you'll find the `DeviceIdentification` there.
|
||||||
|
It is used for a "special" function called "Read Device Identification" (0x2B / 43) not supported by all devices.
|
||||||
|
|
||||||
|
The `ModbusDevice` is used for the server implementations in the derived packages.
|
||||||
|
|
||||||
|
|
||||||
### Protocols
|
### Protocols
|
||||||
|
|
||||||
|
|||||||
@@ -161,7 +161,7 @@ namespace AMWD.Protocols.Modbus.Tests.Tcp.Utils
|
|||||||
public async Task ShouldThrowApplicationExceptionHostnameNotResolvable()
|
public async Task ShouldThrowApplicationExceptionHostnameNotResolvable()
|
||||||
{
|
{
|
||||||
// Arrange
|
// Arrange
|
||||||
_hostname = "device.internal";
|
_hostname = "123.321.123.321";
|
||||||
var connection = GetConnection();
|
var connection = GetConnection();
|
||||||
|
|
||||||
// Act
|
// Act
|
||||||
|
|||||||
Reference in New Issue
Block a user