© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•12mo ago•
31 replies
πR

Dotnet webapi test failing on GitHub Workflow

Hey everyone, I am currently creating a dotnet webapi and just got into unit- and integration-testing. So I wrote some test with xUnit and TestContainers. Running this tests locally with dotnet test works fine. The tests success and everything is good.
Now I created a github workflow (which is also completely new to me) to automate this tests. However the webapi returns InternalServerError in the tests when running in the workflow.
Could somebody please help me to find the error?
The GitHub repo can be found at: https://github.com/Pierre808/NuvellAPI
I added the beginning of the log message as screenshot.
image.png
GitHub
GitHub - Pierre808/NuvellAPI
Contribute to Pierre808/NuvellAPI development by creating an account on GitHub.
GitHub - Pierre808/NuvellAPI
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Cookies help Dotnet webapi
C#CC# / help
2y ago
MSTest dotnet Test failing from the command prompt
C#CC# / help
2y ago
Github actions failing to run project (dotnet run)
C#CC# / help
3y ago