Commit 13056a7
authored
Use explicit mavenLocal env var for standalone integration tests (#22)
This PR fixes an issue with the publish workflow, where it tries to
build the integration tests using the released version number which has
not been published yet.
In #11 and #16 I made changes to allow the integration tests to run as a
standalone Gradle project. This is necessary for the matrix testing
which tests the integration tests against a number of different JVM
versions. Unfortunately the approach here is not completely compatible
with the release workflow, since the `PROJECT_VERSION` variable is set
there and the workflow attempts to build the integration tests against a
`.jar` file which has not yet been published.
To fix this, I've split the intent configuration from the version
configuration. Now the `USE_MAVEN_LOCAL` variable indicates that a
standalone build should take place, and `PROJECT_VERSION` is used to
configure the `.jar` file to look for as well as to configure the
version number for the project build.
By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.1 parent fe5009f commit 13056a7
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| 156 | + | |
156 | 157 | | |
157 | 158 | | |
158 | 159 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments