Skip to content

Add GitHub Actions for unit and integration tests#26

Merged
marko-stanojevic merged 1 commit intomainfrom
feat/lint_action
Feb 24, 2026
Merged

Add GitHub Actions for unit and integration tests#26
marko-stanojevic merged 1 commit intomainfrom
feat/lint_action

Conversation

@marko-stanojevic
Copy link
Contributor

This pull request refactors the CI workflow by extracting the unit and integration test steps into reusable composite GitHub Actions. This change centralizes test logic, reduces duplication, and simplifies maintenance of the workflow files.

Workflow refactoring and modularization:

  • Created .github/actions/ps-unit-tests/action.yml to encapsulate all steps for setting up .NET, running C# unit tests, uploading, and publishing test results.
  • Created .github/actions/ps-integration-tests/action.yml to handle PowerShell integration test setup, module building, environment configuration, test execution, and artifact upload.

CI workflow simplification:

  • Replaced inline unit test steps in ci.yml with a call to the new ps-unit-tests composite action, streamlining the job definition.
  • Replaced inline integration test steps in ci.yml with a call to the new ps-integration-tests composite action, reducing complexity and duplication.

@marko-stanojevic marko-stanojevic merged commit a14336b into main Feb 24, 2026
8 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant