How do I run the tests in headless mode for CI? #6
Answered
by
FaraazSuffla
FaraazSuffla
asked this question in
Q&A
-
|
I want to run the NUnit API tests in a CI environment without a GUI. What is the recommended approach for running these tests headlessly in GitHub Actions? |
Beta Was this translation helpful? Give feedback.
Answered by
FaraazSuffla
Feb 27, 2026
Replies: 1 comment
-
|
Since this project tests a REST API and not a browser, there is no GUI involved - the tests are already headless by default. The CI workflow in Just run: dotnet test --configuration ReleaseThe CI badge at the top of the README reflects the live pipeline status on every push. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
FaraazSuffla
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since this project tests a REST API and not a browser, there is no GUI involved - the tests are already headless by default.
The CI workflow in
.github/workflows/ci.ymlrunsdotnet testonubuntu-latestwhich is a fully headless Linux environment. No extra flags needed.Just run:
dotnet test --configuration ReleaseThe CI badge at the top of the README reflects the live pipeline status on every push.