Skip to content

feat: add PreSteps hook to publish-test-artifacts.yml and run-tiered-tests.yml - #85

Merged
NickGraham101 merged 1 commit into
mainfrom
AddPreStepsToTestBuildTemplates
Aug 22, 2026
Merged

NickGraham101 merged 1 commit into
mainfrom
AddPreStepsToTestBuildTemplates

Conversation

@NickGraham101

@NickGraham101 NickGraham101 commented Aug 22, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Adds an optional PreSteps: [] parameter to both AzureDevOpsTemplates/Build/JobTemplates/publish-test-artifacts.yml and AzureDevOpsTemplates/Deploy/JobTemplates/run-tiered-tests.yml, mirroring the pattern already established on collate-test-results.yml.
  • Defaults to [], so existing callers are unaffected.

Why

A consumer whose test project restores from a private NuGet feed needs a way to run NuGetAuthenticate@1 before the publish/test work happens in these specific jobs - credentials from an earlier job don't carry over.

🤖 Generated with Claude Code

…tests.yml

Same pattern already used by collate-test-results.yml. Each of these jobs is a
fresh agent (publish-test-artifacts.yml's job and run-tiered-tests.yml's
deployment job both run in a different job - often a different pod entirely -
than wherever a consumer's own restore/auth setup lives), so a consumer whose
projects restore from a private NuGet feed needs a way to run NuGetAuthenticate@1
(or any other setup) before the publish/test work in *these* jobs specifically -
credentials from an earlier job don't carry over. Defaults to [] so existing
callers (grahamandtonic) are unaffected.
@github-actions

Copy link
Copy Markdown

Unit Test Results

1 129 tests  ±0   1 129 ✔️ ±0   26s ⏱️ -8s
       2 suites ±0          0 💤 ±0 
       1 files   ±0          0 ❌ ±0 

Results for commit f46be97. ± Comparison against base commit 8262cad.

@NickGraham101
NickGraham101 merged commit 2bef304 into main Aug 22, 2026
4 checks passed
@NickGraham101
NickGraham101 deleted the AddPreStepsToTestBuildTemplates branch August 22, 2026 19:00
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.

1 participant