Skip to content

Commit

Permalink
Fixnugete2e (#1339)
Browse files Browse the repository at this point in the history
Co-authored-by: freddydk <freddydk@users.noreply.github.com>
  • Loading branch information
freddydk and freddydk authored Nov 28, 2024
1 parent b436adf commit 9dbee17
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions e2eTests/scenarios/GitHubPackages/runtest.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,19 @@ $repoPath = (Get-Location).Path
Set-Location $repoPath1
WaitWorkflow -repository $repository1 -runid $run1.id

# Run a second time with wait (due to GitHubPackages error with our organization?)
$run1 = RunCICD -repository $repository1 -branch $branch -wait

# test artifacts generated in repository1
Test-ArtifactsFromRun -runid $run1.id -folder 'artifacts' -expectedArtifacts @{"Apps"=3;"TestApps"=0;"Dependencies"=0} -repoVersion '1.0' -appVersion '1.0'

# Wait for CI/CD workflow of repository2 to finish
Set-Location $repoPath2
$run2 = RunCICD -repository $repository2 -branch $branch -wait

# Run a second time with wait (due to GitHubPackages error with our organization?)
$run2 = RunCICD -repository $repository2 -branch $branch -wait

# test artifacts generated in repository2
Test-ArtifactsFromRun -runid $run2.id -folder 'artifacts' -expectedArtifacts @{"Apps"=1;"TestApps"=0;"Dependencies"=0} -repoVersion '1.0' -appVersion '1.0'

Expand Down

0 comments on commit 9dbee17

Please sign in to comment.