Skip to content

Commit

Permalink
Add Snapshot Tests to CI
Browse files Browse the repository at this point in the history
Closes gh-933
  • Loading branch information
jzheaux committed Oct 1, 2024
1 parent 7ed0a18 commit 74396ca
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/continuous-integration-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@ jobs:
java-version: ${{ matrix.jdk }}
distribution: temurin
secrets: inherit
test:
name: Test Against Snapshots
uses: spring-io/spring-security-release-tools/.github/workflows/test.yml@v1
strategy:
matrix:
include:
- java-version: 21-ea
- java-version: 17
with:
java-version: ${{ matrix.java-version }}
test-args: --refresh-dependencies -PforceMavenRepositories=snapshot -PisOverrideVersionCatalog -PtestToolchain=17 -PspringFrameworkVersion=6.2.+ -PspringDataVersion=2024.0.+ --stacktrace
deploy-artifacts:
name: Deploy Artifacts
needs: [ build ]
Expand Down
11 changes: 9 additions & 2 deletions dependencies/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,15 @@ repositories {
ext.queryDslVersion = '5.0.0'

dependencies {
api platform("org.springframework:spring-framework-bom:6.1.13")
api platform("org.springframework.data:spring-data-bom:2021.2.18")
if (project.hasProperty("isOverrideVersionCatalog")) {
def springFrameworkVersion = project.property("springFrameworkVersion")
def springDataVersion = project.property("springDataVersion")
api platform("org.springframework:spring-framework-bom:$springFrameworkVersion")
api platform("org.springframework.data:spring-data-bom:$springDataVersion")
} else {
api platform("org.springframework:spring-framework-bom:6.1.13")
api platform("org.springframework.data:spring-data-bom:2021.2.18")
}
api platform('com.fasterxml.jackson:jackson-bom:2.15.4')
api platform("org.junit:junit-bom:5.8.2")
constraints {
Expand Down

0 comments on commit 74396ca

Please sign in to comment.