Skip to content

Add Docker support for Go tests with new Makefile target and Dockerfile#4921

Open
Frozen wants to merge 2 commits into
devfrom
feature/docker-go-tests
Open

Add Docker support for Go tests with new Makefile target and Dockerfile#4921
Frozen wants to merge 2 commits into
devfrom
feature/docker-go-tests

Conversation

@Frozen
Copy link
Copy Markdown
Collaborator

@Frozen Frozen commented Jun 30, 2025

Pull Request Overview

Adds Docker-based support for running Go tests by introducing a dedicated Dockerfile and Makefile target.

  • Introduce Test.Dockerfile to set up a container environment and run make go-test.
  • Add docker-go-test target in the Makefile to run tests inside the built image.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
Test.Dockerfile New Dockerfile for installing dependencies and executing Go tests.
Makefile New docker-go-test target to run Go tests via the Docker image.
Comments suppressed due to low confidence (1)

Makefile:261

  • [nitpick] The docker-go-test target assumes the image frozen621/harmony-test is already built, but there’s no build step or documentation. Consider adding a docker-build-test target or instructions to build and tag that image.
docker-go-test:

@Frozen Frozen requested a review from Copilot June 30, 2025 20:45
Comment thread Test.Dockerfile Outdated
Comment thread Test.Dockerfile Outdated
@Frozen Frozen self-assigned this Jul 9, 2025
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.

2 participants