Skip to content

Commit 32f6004

Browse files
committed
Apply pi-hole/FTL@75f11f3 also here
Signed-off-by: DL6ER <[email protected]>
1 parent b0a478c commit 32f6004

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

ftl-build/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,11 @@ ARG GIT_BRANCH="special/CI_development"
115115
# Ensure that the TERM environment variable is set
116116
ENV TERM=${TERM:-xterm}
117117

118+
# Monkeypatch BATS to remove duplicate output of starting and finished test
119+
# BATS uses ANSI escape codes to overwrite the line after the test has finished
120+
# This is not supported by Github Actions as it does not provide a TTY to the docker build container
121+
RUN sed -i '/buffer_with_truncation /d' /bats-core/libexec/bats-core/bats-format-pretty
122+
118123
# Test compile FTL's development branch, the result is removed from the final container
119124
# Run the full test suite to ensure that the container is still capable of running the tests
120125
RUN git clone https://github.com/pi-hole/FTL.git --branch "${GIT_BRANCH}" \

0 commit comments

Comments
 (0)