Integration Tests Everywhere! #5
integration-tests.yml
on: pull_request
Matrix: tests
Test Results
23s
Annotations
6 errors and 1 warning
|
Integration Tests (ubuntu-24.04)
Process completed with exit code 1.
|
|
Failed Test: NativeThemeTests - ThemeSource_roundtrip:
Ubuntu#L31
NativeThemeTests - ThemeSource_roundtrip: Expected themeSourceSystem to be ThemeSourceMode.System {value: 0}, but found ThemeSourceMode.Dark {value: 2}. - at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.AddPreFormattedFailure(String formattedFailureMessage)
at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
at FluentAssertions.Execution.AssertionChain.FailWith(String message, Object[] args)
at FluentAssertions.Primitives.EnumAssertions`2.Be(TEnum expected, String because, Object[] becauseArgs)
at ElectronNET.IntegrationTests.Tests.NativeThemeTests.ThemeSource_roundtrip() in /home/runner/work/Electron.NET/Electron.NET/src/ElectronNET.IntegrationTests/Tests/NativeThemeTests.cs:line 31
--- End of stack trace from previous location ---
|
|
Failed Test: NotificationTests - Notification_create_check:
Ubuntu#L13
NotificationTests - Notification_create_check: Xunit.SkipException : Always returns false. Might need full-blown desktop environment - at ElectronNET.IntegrationTests.Tests.NotificationTests.Notification_create_check() in /home/runner/work/Electron.NET/Electron.NET/src/ElectronNET.IntegrationTests/Tests/NotificationTests.cs:line 13
--- End of stack trace from previous location ---
|
|
Test Results
Github Test Reporter: 2 failed tests found
|
|
Failed Test: ThemeSource_roundtrip:
Ubuntu#L31
ThemeSource_roundtrip: Expected themeSourceSystem to be ThemeSourceMode.System {value: 0}, but found ThemeSourceMode.Dark {value: 2}. - at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.AddPreFormattedFailure(String formattedFailureMessage)
at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
at FluentAssertions.Execution.AssertionChain.FailWith(String message, Object[] args)
at FluentAssertions.Primitives.EnumAssertions`2.Be(TEnum expected, String because, Object[] becauseArgs)
at ElectronNET.IntegrationTests.Tests.NativeThemeTests.ThemeSource_roundtrip() in /home/runner/work/Electron.NET/Electron.NET/src/ElectronNET.IntegrationTests/Tests/NativeThemeTests.cs:line 31
--- End of stack trace from previous location ---
|
|
Failed Test: Notification_create_check:
Ubuntu#L13
Notification_create_check: Xunit.SkipException : Always returns false. Might need full-blown desktop environment - at ElectronNET.IntegrationTests.Tests.NotificationTests.Notification_create_check() in /home/runner/work/Electron.NET/Electron.NET/src/ElectronNET.IntegrationTests/Tests/NotificationTests.cs:line 13
--- End of stack trace from previous location ---
|
|
Test Results
Resource not accessible by integration - https://docs.github.com/rest/issues/comments#create-an-issue-comment
Unable to post PR comment - this is likely a permissions issue.
Required permission: "pull-requests: write" needs to be set in your workflow permissions.
Add this to your workflow file:
jobs:
build:
runs-on: ubuntu-latest
permissions:
pull-requests: write
See documentation: https://docs.github.com/en/actions/security-for-github-actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
For forked PRs, you should use the pull_request_target event instead of pull_request.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
ctrf-report
|
33.1 KB |
sha256:f240e06d3be476ae04a7e452944637ef93c70e1957cecd330b9f05b58c024194
|
|
|
test-results-macos-14
Expired
|
20.8 KB |
sha256:0a0b8719e4b0b470c5dcbb65937bfe035390f9baf46ee566f58cd59406e07ee5
|
|
|
test-results-ubuntu-24.04
Expired
|
22.9 KB |
sha256:7a61b810c2e00f37ff2fa5f99e1446e5b8deb2222278f221d18d0c940fc4934f
|
|
|
test-results-windows-2022
Expired
|
20.6 KB |
sha256:41c94d8b0ecfae145a98b4c72000c2f269af2cfaf787f571bfd38324f5f09a3a
|
|