Skip to content

Commit

Permalink
[ci] Avoid to print globaleaks.log and access.log at on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
evilaliv3 committed Oct 23, 2024
1 parent 3c4c4ed commit 682a762
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/scripts/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,6 @@

set -e

LOGFILE="$GITHUB_WORKSPACE/backend/workingdir/log/globaleaks.log"
ACCESSLOG="$GITHUB_WORKSPACE/backend/workingdir/log/access.log"

function atexit {
if [[ -f $LOGFILE ]]; then
cat $LOGFILE
fi

if [[ -f $ACCESSLOG ]]; then
cat $ACCESSLOG
fi
}

trap atexit EXIT

setupClient() {
cd $GITHUB_WORKSPACE/client # to install frontend dependencies
npm install -d
Expand Down

0 comments on commit 682a762

Please sign in to comment.