Skip to content

Establish GitHub Action Workflow for Running Tests via Makefile #5

@piraz

Description

@piraz

Set up a GitHub Actions workflow in the candango/uiok repository that runs tests using the make test command from the project’s Makefile. This ensures test execution remains consistent between developer environments and CI, and allows any custom logic in the Makefile’s test rule to be applied.

Tasks

  • Create a .github/workflows/test.yml file in the repository.
  • Configure the workflow to:
    • Trigger on pushes and pull requests to any branch.
    • Use the latest stable version of Go.
    • Check out the repository code.
    • Install make and any required dependencies.
    • Run make test as the test command.
    • Ensure the workflow fails if any test fails.
  • Optionally, cache dependencies to improve CI run times.

Acceptance Criteria

  • .github/workflows/test.yml exists and is functional.
  • The workflow runs make test automatically for all pushes and pull requests.
  • Workflow status is visible in the GitHub interface (e.g., PR status checks).
  • CI run fails if any tests fail, and passes otherwise.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions