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
2 parents 4def96b + fe8c7ca commit a58fab9
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 13 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ is automatically applied by the `snowflake` plugin:
```groovy
plugins {
id 'java'
id 'io.github.stewartbryson.snowflake' version '2.0.13'
id 'io.github.stewartbryson.snowflake' version '2.0.14'
}
```

Expand Down Expand Up @@ -234,7 +234,7 @@ Our `plugins` DSL from the build file:
plugins {
id 'java'
id 'groovy' // needed for Spock testing framework
id 'io.github.stewartbryson.snowflake' version '2.0.13'
id 'io.github.stewartbryson.snowflake' version '2.0.14'
}
```

Expand Down Expand Up @@ -299,7 +299,7 @@ The same applies for the topic of functional testing below.
### Functional Testing
[Functional testing](https://en.wikipedia.org/wiki/Functional_testing) describes what the system does,
and in my mind, this involves testing our deployed code in Snowflake.
Regardless of what we call it, we _know we need this_, and it's a crucial component in our build chain.
Regardless of what we call it, we _know we need this_ as a crucial component in our build chain.
This plugin contains a custom Spock Specification class called `SnowflakeSpec` that can be used in a new test suite.
By default, this test suite is called `functionalTest`, though the name can be configured using the `testSuite` property.

Expand All @@ -311,7 +311,7 @@ functionalTest(JvmTestSuite) {
all {
useSpock('2.3-groovy-3.0')
dependencies {
implementation "io.github.stewartbryson:gradle-snowflake-plugin:2.0.13"
implementation "io.github.stewartbryson:gradle-snowflake-plugin:2.0.14"
}
testTask.configure {
failFast true
Expand Down
2 changes: 1 addition & 1 deletion examples/groovy/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id 'groovy'
id 'com.github.ben-manes.versions' version '0.46.0'
id 'io.github.stewartbryson.snowflake' version '2.0.13'
id 'io.github.stewartbryson.snowflake' version '2.0.14'
}

repositories {
Expand Down
2 changes: 1 addition & 1 deletion examples/java-external-stage/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id 'java'
id 'com.github.ben-manes.versions' version '0.46.0'
id 'io.github.stewartbryson.snowflake' version '2.0.13'
id 'io.github.stewartbryson.snowflake' version '2.0.14'
}

repositories {
Expand Down
2 changes: 1 addition & 1 deletion examples/java-testing/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id 'java'
id 'groovy' // needed for Spock testing framework
id 'io.github.stewartbryson.snowflake' version '2.0.13'
id 'io.github.stewartbryson.snowflake' version '2.0.14'
id 'com.adarshr.test-logger' version '3.2.0' // added for testing
id 'com.github.ben-manes.versions' version '0.46.0'
}
Expand Down
2 changes: 1 addition & 1 deletion examples/java/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id 'java'
id 'com.github.ben-manes.versions' version '0.46.0'
id 'io.github.stewartbryson.snowflake' version '2.0.13'
id 'io.github.stewartbryson.snowflake' version '2.0.14'
}

repositories {
Expand Down
2 changes: 1 addition & 1 deletion examples/kotlin/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id "org.jetbrains.kotlin.jvm" version "1.8.21"
id 'com.github.ben-manes.versions' version '0.46.0'
id 'io.github.stewartbryson.snowflake' version '2.0.13'
id 'io.github.stewartbryson.snowflake' version '2.0.14'
}

repositories {
Expand Down
7 changes: 4 additions & 3 deletions examples/scala/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id 'scala'
id 'com.github.ben-manes.versions' version '0.46.0'
id 'io.github.stewartbryson.snowflake' version '2.0.13'
id 'io.github.stewartbryson.snowflake' version '2.0.14'
}

repositories {
Expand All @@ -18,8 +18,6 @@ java {
}
}

version='0.1.0'

snowflake {
connection = 'gradle_plugin'
stage = 'upload'
Expand All @@ -32,6 +30,9 @@ snowflake {
}
}

version='0.1.0'


// empty task for matrix strategy execution in GitHub Actions
// please ignore
afterEvaluate {
Expand Down
2 changes: 1 addition & 1 deletion src/examples/java-testing/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ version='0.1.0'
afterEvaluate {
tasks.register('matrixStrategy') {
description 'Empty task for matrix strategy execution in GitHub Actions.'
dependsOn functionalTest
dependsOn functionalTest, dropEphemeral
}
}

0 comments on commit a58fab9

Please sign in to comment.