Yubico / Yubico.NET.SDK

A YubiKey SDK for .NET developers
Apache License 2.0
96 stars 48 forks source link

Set up dotnet in dependent workflows #75

Closed DennisDyallo closed 2 months ago

DennisDyallo commented 2 months ago

Sometimes the dotnet format workflow would fail unexpectedly when the runner couldnt locate the dotnet executable. This PR attempts to address that matter.

github-actions[bot] commented 2 months ago

Test Results

    2 files  ±0      2 suites  ±0   2s :stopwatch: ±0s 3 615 tests ±0  3 615 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0  3 617 runs  ±0  3 617 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit 6d0fd264. ± Comparison against base commit 043119ad.

This pull request removes 25 and adds 25 tests. Note that renamed tests count towards both. ``` Yubico.YubiKey.ConnectionManagerTests ‑ DeviceSupportsApplication_GivenSupportedTuple_ReturnsTrue(device: TestHidDevice { LastAccessed = 2024-04-12T08:34:45.6084997+00:00, ParentDeviceId = null, Path = "", ProductId = 0, Usage = 0, ··· }, application: Fido2) Yubico.YubiKey.ConnectionManagerTests ‑ DeviceSupportsApplication_GivenSupportedTuple_ReturnsTrue(device: TestHidDevice { LastAccessed = 2024-04-12T08:34:45.6084997+00:00, ParentDeviceId = null, Path = "", ProductId = 0, Usage = 0, ··· }, application: FidoU2f) Yubico.YubiKey.ConnectionManagerTests ‑ DeviceSupportsApplication_GivenSupportedTuple_ReturnsTrue(device: TestHidDevice { LastAccessed = 2024-04-12T08:34:45.6085207+00:00, ParentDeviceId = null, Path = "", ProductId = 0, Usage = 0, ··· }, application: Otp) Yubico.YubiKey.ConnectionManagerTests ‑ DeviceSupportsApplication_GivenSupportedTuple_ReturnsTrue(device: TestSmartCardDevice { Atr = null, Kind = Any, LastAccessed = 2024-04-12T08:34:45.6085907+00:00, ParentDeviceId = null, Path = "" }, application: Fido2) Yubico.YubiKey.ConnectionManagerTests ‑ DeviceSupportsApplication_GivenSupportedTuple_ReturnsTrue(device: TestSmartCardDevice { Atr = null, Kind = Any, LastAccessed = 2024-04-12T08:34:45.6085907+00:00, ParentDeviceId = null, Path = "" }, application: FidoU2f) Yubico.YubiKey.ConnectionManagerTests ‑ DeviceSupportsApplication_GivenSupportedTuple_ReturnsTrue(device: TestSmartCardDevice { Atr = null, Kind = Any, LastAccessed = 2024-04-12T08:34:45.6085907+00:00, ParentDeviceId = null, Path = "" }, application: Management) Yubico.YubiKey.ConnectionManagerTests ‑ DeviceSupportsApplication_GivenSupportedTuple_ReturnsTrue(device: TestSmartCardDevice { Atr = null, Kind = Any, LastAccessed = 2024-04-12T08:34:45.6085907+00:00, ParentDeviceId = null, Path = "" }, application: Oath) Yubico.YubiKey.ConnectionManagerTests ‑ DeviceSupportsApplication_GivenSupportedTuple_ReturnsTrue(device: TestSmartCardDevice { Atr = null, Kind = Any, LastAccessed = 2024-04-12T08:34:45.6085907+00:00, ParentDeviceId = null, Path = "" }, application: OpenPgp) Yubico.YubiKey.ConnectionManagerTests ‑ DeviceSupportsApplication_GivenSupportedTuple_ReturnsTrue(device: TestSmartCardDevice { Atr = null, Kind = Any, LastAccessed = 2024-04-12T08:34:45.6085907+00:00, ParentDeviceId = null, Path = "" }, application: Otp) Yubico.YubiKey.ConnectionManagerTests ‑ DeviceSupportsApplication_GivenSupportedTuple_ReturnsTrue(device: TestSmartCardDevice { Atr = null, Kind = Any, LastAccessed = 2024-04-12T08:34:45.6085907+00:00, ParentDeviceId = null, Path = "" }, application: Piv) … ``` ``` Yubico.YubiKey.ConnectionManagerTests ‑ DeviceSupportsApplication_GivenSupportedTuple_ReturnsTrue(device: TestHidDevice { LastAccessed = 2024-04-12T10:42:48.9856964+00:00, ParentDeviceId = null, Path = "", ProductId = 0, Usage = 0, ··· }, application: Fido2) Yubico.YubiKey.ConnectionManagerTests ‑ DeviceSupportsApplication_GivenSupportedTuple_ReturnsTrue(device: TestHidDevice { LastAccessed = 2024-04-12T10:42:48.9856964+00:00, ParentDeviceId = null, Path = "", ProductId = 0, Usage = 0, ··· }, application: FidoU2f) Yubico.YubiKey.ConnectionManagerTests ‑ DeviceSupportsApplication_GivenSupportedTuple_ReturnsTrue(device: TestHidDevice { LastAccessed = 2024-04-12T10:42:48.9857255+00:00, ParentDeviceId = null, Path = "", ProductId = 0, Usage = 0, ··· }, application: Otp) Yubico.YubiKey.ConnectionManagerTests ‑ DeviceSupportsApplication_GivenSupportedTuple_ReturnsTrue(device: TestSmartCardDevice { Atr = null, Kind = Any, LastAccessed = 2024-04-12T10:42:48.9858301+00:00, ParentDeviceId = null, Path = "" }, application: Fido2) Yubico.YubiKey.ConnectionManagerTests ‑ DeviceSupportsApplication_GivenSupportedTuple_ReturnsTrue(device: TestSmartCardDevice { Atr = null, Kind = Any, LastAccessed = 2024-04-12T10:42:48.9858301+00:00, ParentDeviceId = null, Path = "" }, application: FidoU2f) Yubico.YubiKey.ConnectionManagerTests ‑ DeviceSupportsApplication_GivenSupportedTuple_ReturnsTrue(device: TestSmartCardDevice { Atr = null, Kind = Any, LastAccessed = 2024-04-12T10:42:48.9858301+00:00, ParentDeviceId = null, Path = "" }, application: Management) Yubico.YubiKey.ConnectionManagerTests ‑ DeviceSupportsApplication_GivenSupportedTuple_ReturnsTrue(device: TestSmartCardDevice { Atr = null, Kind = Any, LastAccessed = 2024-04-12T10:42:48.9858301+00:00, ParentDeviceId = null, Path = "" }, application: Oath) Yubico.YubiKey.ConnectionManagerTests ‑ DeviceSupportsApplication_GivenSupportedTuple_ReturnsTrue(device: TestSmartCardDevice { Atr = null, Kind = Any, LastAccessed = 2024-04-12T10:42:48.9858301+00:00, ParentDeviceId = null, Path = "" }, application: OpenPgp) Yubico.YubiKey.ConnectionManagerTests ‑ DeviceSupportsApplication_GivenSupportedTuple_ReturnsTrue(device: TestSmartCardDevice { Atr = null, Kind = Any, LastAccessed = 2024-04-12T10:42:48.9858301+00:00, ParentDeviceId = null, Path = "" }, application: Otp) Yubico.YubiKey.ConnectionManagerTests ‑ DeviceSupportsApplication_GivenSupportedTuple_ReturnsTrue(device: TestSmartCardDevice { Atr = null, Kind = Any, LastAccessed = 2024-04-12T10:42:48.9858301+00:00, ParentDeviceId = null, Path = "" }, application: Piv) … ```
github-actions[bot] commented 2 months ago

publish test results

    2 files      2 suites   2s :stopwatch: 3 615 tests 3 615 :white_check_mark: 0 :zzz: 0 :x: 3 617 runs  3 617 :white_check_mark: 0 :zzz: 0 :x:

Results for commit 2b4e29b9.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 months ago

Code Coverage

Package Line Rate Branch Rate Complexity Health
Yubico.Core 43% 32% 1409
Yubico.YubiKey 53% 48% 6085
Summary 51% (8294 / 16290) 45% (2662 / 5929) 7494

Minimum allowed line rate is 33%