Skip to content

Commit

Permalink
test: add smoke test for push
Browse files Browse the repository at this point in the history
  • Loading branch information
vpa1977 committed Oct 7, 2024
1 parent 333835a commit 324416c
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,17 @@ void buildRockTest() throws IOException {
assertEquals(TaskOutcome.SUCCESS, getLastTaskOutcome(result)); // the build needs to succeed
}

/**
* Make a separate test for pushing, so that it could be excluded in docker-less
* scenarios
* @throws IOException
*/
@Test
void pushRockTest() throws IOException {
BuildResult result = runBuild("push-rock");
assertEquals(TaskOutcome.SUCCESS, getLastTaskOutcome(result)); // the build needs to succeed
}

@Test
void validRockcraftYaml() throws IOException {
runBuild("create-rock");
Expand Down

0 comments on commit 324416c

Please sign in to comment.