Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 17, 2025

Add documentation to CONTRIBUTING.md for running tests without building images, running specific tests, and building on arm64 devices.

Documentation (CONTRIBUTING.md)

  • Running Tests Without Building Images: Use -PullImages with run-tests.ps1 to test published images without building locally
  • Running Specific Tests: Use -CustomTestFilter with Xunit test filtering expressions
  • arm64 Builds: Use -Architecture arm64 (not arm64v8) for Apple Silicon/Linux ARM64

Script (build-and-test.ps1)

  • Added -CustomTestFilter parameter that passes through to run-tests.ps1 for all test invocations

Example Usage

# Test published images without building
./tests/run-tests.ps1 -PullImages -Paths '*9.0*noble*'

# Run specific tests
./tests/run-tests.ps1 -Paths '*9.0*noble*' -CustomTestFilter "FullyQualifiedName~VerifyEnvironmentVariables"

# Build on arm64
./build-and-test.ps1 -Paths '*9.0*noble*' -Architecture arm64
Original prompt

Add a section to CONTRIBUTING.md about 1.) running tests without building images, and 2.) running specific tests. Running tests without building can be done using the ./tests/run-tests.ps1 script with the -PullImages argument. Running specific tests can be done with either run-tests.ps1 or build-and-test.ps1 using the -CustomTestFilter argument. Also, add a section about building and running on arm64 devices. To properly build or run on arm64, you need to pass the -Architecture "arm64" argument ("arm64v8" does not work)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Add sections for running tests and arm64 support in CONTRIBUTING.md Add documentation for testing options and arm64 builds Dec 17, 2025
Copilot AI requested a review from lbussell December 17, 2025 22:25
@lbussell lbussell marked this pull request as ready for review December 17, 2025 22:30
@lbussell lbussell requested a review from a team as a code owner December 17, 2025 22:30
@lbussell lbussell merged commit 3fc0565 into nightly Dec 18, 2025
8 checks passed
lbussell added a commit to lbussell/dotnet-docker that referenced this pull request Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants