Skip to content

Commit

Permalink
add CMD for entrypoint of the test part of the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
felixschurk committed May 8, 2024
1 parent 45bba9c commit 25c9c98
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 16 deletions.
5 changes: 3 additions & 2 deletions test/docker/arch
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ RUN task --version
# Setup tests
WORKDIR /root/code/
RUN cmake --build build --target build_tests -j 8
ENTRYPOINT ["ctest"]
CMD ["--test-dir build/test -j 8 --rerun-failed --output-on-failure"]

# CMD for docker run command
CMD ["ctest --test-dir build/test -j 8 --rerun-failed --output-on-failure"]
4 changes: 2 additions & 2 deletions test/docker/debianstable
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ RUN task --version
WORKDIR /root/code/
RUN cmake --build build --target build_tests -j 8

## runs all tests in parallel
RUN ctest --test-dir build/test -j 8 --rerun-failed --output-on-failure
# CMD for docker run command
CMD ["ctest --test-dir build/test -j 8 --rerun-failed --output-on-failure"]
4 changes: 2 additions & 2 deletions test/docker/debiantesting
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ RUN task --version
WORKDIR /root/code/
RUN cmake --build build --target build_tests -j 8

## runs all tests in parallel
RUN ctest --test-dir build/test -j 8 --rerun-failed --output-on-failure
# CMD for docker run command
CMD ["ctest --test-dir build/test -j 8 --rerun-failed --output-on-failure"]
4 changes: 2 additions & 2 deletions test/docker/fedora39
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ RUN task --version
WORKDIR /root/code/
RUN cmake --build build --target build_tests -j 8

## runs all tests in parallel
RUN ctest --test-dir build/test -j 8 --rerun-failed --output-on-failure
# CMD for docker run command
CMD ["ctest --test-dir build/test -j 8 --rerun-failed --output-on-failure"]
4 changes: 2 additions & 2 deletions test/docker/fedora40
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ RUN task --version
WORKDIR /root/code/
RUN cmake --build build --target build_tests -j 8

## runs all tests in parallel
RUN ctest --test-dir build/test -j 8 --rerun-failed --output-on-failure
# CMD for docker run command
CMD ["ctest --test-dir build/test -j 8 --rerun-failed --output-on-failure"]
4 changes: 2 additions & 2 deletions test/docker/opensuse
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ RUN task --version
WORKDIR /root/code/
RUN cmake --build build --target build_tests -j 8

## runs all tests in parallel
RUN ctest --test-dir build/test -j 8 --rerun-failed --output-on-failure
# CMD for docker run command
CMD ["ctest --test-dir build/test -j 8 --rerun-failed --output-on-failure"]
4 changes: 2 additions & 2 deletions test/docker/ubuntu2004
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ RUN task --version
WORKDIR /root/code/
RUN cmake --build build --target build_tests -j 8

## runs all tests in parallel
RUN ctest --test-dir build/test -j 8 --rerun-failed --output-on-failure
# CMD for docker run command
CMD ["ctest --test-dir build/test -j 8 --rerun-failed --output-on-failure"]
4 changes: 2 additions & 2 deletions test/docker/ubuntu2204
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ RUN task --version
WORKDIR /root/code/
RUN cmake --build build --target build_tests -j 8

## runs all tests in parallel
RUN ctest --test-dir build/test -j 8 --rerun-failed --output-on-failure
# CMD for docker run command
CMD ["ctest --test-dir build/test -j 8 --rerun-failed --output-on-failure"]

0 comments on commit 25c9c98

Please sign in to comment.