Skip to content

Commit

Permalink
Actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
stewartbryson committed May 22, 2023
1 parent 2d9d6a6 commit 4def96b
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ class SnowflakePlugin implements Plugin<Project> {
// if there is a functionalTest defined, it depends on snowflakeJvm
if (project.tasks.findByName(extension.testSuite)) {
project.tasks."${extension.testSuite}".dependsOn project.tasks.snowflakeJvm
// in case the tasks are called directly
project.tasks."${extension.testSuite}".mustRunAfter project.tasks.createEphemeral
project.tasks.dropEphemeral.mustRunAfter project.tasks."${extension.testSuite}"
}

// if an ephemeral environment is being used, then some tasks need dependencies
Expand All @@ -115,7 +118,7 @@ class SnowflakePlugin implements Plugin<Project> {
// snowflakeJvm should always run when using ephemeral clones
// that's because the clone may be dropped at the end of the last run
//TODO #88
outputs.upToDateWhen {false}
outputs.upToDateWhen { false }
// clone should be created before publishing
dependsOn project.tasks.createEphemeral
}
Expand Down

0 comments on commit 4def96b

Please sign in to comment.