DATAREDIS-920 - Add test task.
This commit is contained in:
@@ -10,7 +10,7 @@ rm -rf $HOME/.m2/repository/org/springframework/data 2> /dev/null || :
|
||||
|
||||
cd spring-data-redis-github
|
||||
|
||||
ln -s /work
|
||||
ln -s /work x
|
||||
|
||||
make test SPRING_PROFILE=spring5-next
|
||||
|
||||
|
||||
15
ci/test.sh
Executable file
15
ci/test.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
[[ -d $PWD/maven && ! -d $HOME/.m2 ]] && ln -s $PWD/maven $HOME/.m2
|
||||
|
||||
rm -rf $HOME/.m2/repository/org/springframework/data/redis 2> /dev/null || :
|
||||
|
||||
cd spring-data-redis-github
|
||||
|
||||
ln -s /work x
|
||||
|
||||
make test SPRING_PROFILE=spring5-next
|
||||
|
||||
./mvnw clean dependency:list test -P${PROFILE} -Dsort
|
||||
16
ci/test.yml
Normal file
16
ci/test.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
platform: linux
|
||||
|
||||
image_resource:
|
||||
type: docker-image
|
||||
source:
|
||||
repository: gregturn/8-jdk-with-redis
|
||||
|
||||
inputs:
|
||||
- name: spring-data-redis-github
|
||||
|
||||
caches:
|
||||
- path: maven
|
||||
|
||||
run:
|
||||
path: spring-data-redis-github/ci/test.sh
|
||||
Reference in New Issue
Block a user