Repository navigation
ApplicationTesting: download artifacts the application tests read - #296
Merged
Merged
Conversation
…ownload_artifacts') New inputs 'download_artifacts' - a glob of artifact names, empty by default - and 'artifacts_directory' - 'artifacts' by default. After the wheel is installed, the matching artifacts are downloaded, each into a subdirectory named after the artifact, so application tests can read what other jobs of the pipeline wrote, e.g. the reports of example jobs. '_Checking_JobTemplates.yml' uploads an example report from a new job 'ExampleReport' and lets 'AppTesting' download 'Example-*'; a new app test reads it, and skips where no artifacts were downloaded. Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
| Duplication | 0 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
Paebbels
reviewed
Oct 9, 2026
…ttern' Like 'unittest_artifacts_pattern' (PublishTestResults) and 'coverage_artifacts_pattern' (PublishCoverageResults). Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
Paebbels
approved these changes
Oct 9, 2026
This was referenced Oct 9, 2026
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New Features
ApplicationTesting.yml:artifacts_pattern: a glob of artifact names, e.g.'Example-*'. Empty by default: no download, soevery existing pipeline is unchanged. Named like
unittest_artifacts_pattern(PublishTestResults.yml) andcoverage_artifacts_pattern(PublishCoverageResults.yml).artifacts_directory: the directory the artifacts are downloaded into, default'artifacts'. Eachartifact is extracted into a subdirectory named after it (
pyTooling/download-artifactwithpattern, withoutmerge-multiple).Documentation
download.
Unit Tests
tests/app/AppTest.py, new classDownloadedArtifacts: reads the example report downloaded intoartifacts/Example-Report/; skips where the calling pipeline downloads no artifacts.GitHub Pipeline
_Checking_JobTemplates.yml: new jobExampleReportuploads an example report as artifactExample-Report;AppTestingwaits for it and downloadsExample-*.Changes after opening
download_artifactsis renamed toartifacts_pattern, like the artifact patterns of the otherjob templates (2aab891).
Related Issues and Pull-Requests
handed to the application tests, which read them with the installed package's CLI - instead of copies committed
under
tests/data/.CompletePipeline.ymldoesn't forward the new inputs; pipelines with example jobs wire their jobs by hand.