Skip to content

Commit

Permalink
Add mockito into test Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
nwiltsie committed Dec 13, 2024
1 parent a9d174e commit 1bb6177
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ENV NXF_LAUNCHER=/.nextflow/tmp/launcher/nextflow-one_${NEXTFLOW_VERSION}/buildk
RUN sed \
-i \
-e 's/"nextflow.cli.Launcher"/"groovy.ui.GroovyMain"/' \
-e 's|"-classpath" "|"-classpath" "/bljars/junit-4.13.2.jar:/bljars/hamcrest-core-1.3.jar:/bljars/groovy-test-3.0.19.jar:/bljars/system-rules-1.19.0.jar:$BL_CLASSPATH:|' \
-e "s|\"-classpath\" \"|\"-classpath\" \"$(find /bljars/ -not -name 'groovy-3*' -type f -printf "%p:"):|" \
${NXF_LAUNCHER}/classpath-${NEXTFLOW_MD5}

COPY validator /usr/local/validator
Expand Down
5 changes: 5 additions & 0 deletions tests/config/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,10 @@
<artifactId>system-rules</artifactId>
<version>1.19.0</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>5.10.0</version>
</dependency>
</dependencies>
</project>

0 comments on commit 1bb6177

Please sign in to comment.