dragonfly/tests/jedis.Dockerfile
odedponcz cf729f3fcb
feat(test): Add integration test for the jedis and node-redis clients (#233)
* docs: Improve wording in issue reporting

Signed-off-by: odedponcz <oded@poncz.com>

* docs: Change contribution doc flow

Signed-off-by: odedponcz <oded@poncz.com>

* feat(tests): Add integration test with node-redis

Signed-off-by: odedponcz <oded@poncz.com>

* Rename integration test docker files

Signed-off-by: odedponcz <oded@poncz.com>
2022-08-12 22:42:54 +03:00

18 lines
667 B
Docker

# syntax=docker/dockerfile:1
FROM maven:3.8.6-jdk-11
ENV NODE_ENV=development
WORKDIR /app
# Clone jedis dragonfly fork
RUN git clone -b dragonfly https://github.com/dragonflydb/jedis.git
WORKDIR /app/jedis
# Build the client and tests
RUN mvn test -DskipTests
# Run selected tests
CMD mvn surefire:test -Dtest="AllKindOfValuesCommandsTest,BitCommandsTest,ControlCommandsTest,ControlCommandsTest,HashesCommandsTest,ListCommandsTest,ScriptingCommandsTest,ScriptingCommandsTest,SetCommandsTest,SetCommandsTest,SetCommandsTest,TransactionCommandsTest,ClientCommandsTest,PublishSubscribeCommandsTest,SortedSetCommandsTest,SortingCommandsTest,StreamsCommandsTest"