Skip to content

Run automated tests on PR and main (closes #13) - #14

Merged
OliverRC merged 1 commit into
mainfrom
ci-run-tests
Jul 13, 2026
Merged

Run automated tests on PR and main (closes #13)#14
OliverRC merged 1 commit into
mainfrom
ci-run-tests

Conversation

@OliverRC

Copy link
Copy Markdown
Owner

Task

Run the new automated tests when a PR is submitted and when code is merged to main (closes #13).

Changes

Added a dotnet test step to .github/workflows/main.yml, before the Pack step. The workflow already triggers on push to main and pull_request to main, so tests now run in both scenarios.

Key decisions

  • Placed the Test step before Pack so a failing test blocks packaging.
  • Used dotnet test --verbosity normal consistent with the existing Pack step style.

Files changed

  • .github/workflows/main.yml

Notes

  • The previous blocker (PAT lacking workflow scope) is now resolved; the branch pushed successfully.
  • Verified locally: dotnet test passes (7 passed, 0 failed).

@OliverRC
OliverRC merged commit 09c2aaf into main Jul 13, 2026
1 check passed
@OliverRC
OliverRC deleted the ci-run-tests branch July 13, 2026 19:54
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.

Run the new automated tests when a PR is submitted and when code is merged to main

1 participant