Skip to content

Commit

Permalink
Smoke test package verification (#20547)
Browse files Browse the repository at this point in the history
* Checking for package

* Update eng/pipelines/templates/jobs/smoke.tests.yml

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
  • Loading branch information
ckairen and weshaggard authored Sep 7, 2021
1 parent 2a3875f commit 8568a83
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions eng/pipelines/templates/jobs/smoke.tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,10 @@ jobs:
return @{ "name" = $matches[1]; "version" = $matches[2] }
}
}
if ($artifacts.name -notcontains "${{parameters.Artifact.name}}") {
Write-Host "Can't find package ${{parameters.Artifact.name}}"
exit 1
}
$dependencies = Get-Content $(requirements) | ForEach-Object {
$line = $_
if ($line -match "([a-zA-Z\-]+)(\W+)(.*)") {
Expand Down

0 comments on commit 8568a83

Please sign in to comment.