Skip to content

Commit

Permalink
added and tested assembly (#14)
Browse files Browse the repository at this point in the history
* added and tested assembly

* updated run.sh

* Use pre-compiled test runner assembly

Co-authored-by: Erik Schierboom <[email protected]>
  • Loading branch information
MeerKatDev and ErikSchierboom authored Apr 28, 2021
1 parent 535db2a commit d380b95
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ WORKDIR /opt/test-runner
COPY project/ project/
COPY src/ src/
COPY build.sbt build.sbt
RUN sbt compile
RUN sbt assembly

COPY . .

Expand Down
2 changes: 1 addition & 1 deletion bin/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ mv -f "${original_tests_file}" "${tests_file}"
popd > /dev/null

# Write the results.json file
sbt "set offline := true" "run ${build_log_file} ${tests_results_file} ${results_file}" > "${runner_log_file}"
java -jar target/scala-2.12/TestRunner-assembly-0.1.0-SNAPSHOT.jar "${build_log_file}" "${tests_results_file}" "${results_file}" > "${runner_log_file}"

echo "${slug}: done"
1 change: 1 addition & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.15.0")

0 comments on commit d380b95

Please sign in to comment.