Skip to content

Commit

Permalink
TMP show test suite logs
Browse files Browse the repository at this point in the history
  • Loading branch information
bostjan committed Jul 27, 2023
1 parent 8493ca6 commit 65ce34d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build-qa-arch-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,10 @@ jobs:
- run: make -j4
- run: make -j4 check

- uses: actions/upload-artifact@v3
- run: cat tests/*/test-suite.log
if: failure()
with:
name: tests-directory
path: tests/
# - uses: actions/upload-artifact@v3
# if: failure()
# with:
# name: tests-directory
# path: tests/
3 changes: 3 additions & 0 deletions tests/cli/cli-action-version-cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ set -u
#
SEARCH_REGEX="^Snoopy CLI tool version: [-.a-z0-9]+"
if ! $SNOOPY_CLI version | grep -E "$SEARCH_REGEX" > /dev/null ; then
echo "-----[ DEBUG OUTPUT ]-------------------------------------"
$SNOOPY_CLI version
echo "-----[ END DEBUG OUTPUT ]-------------------------------------"
snoopy_testResult_fail "Unable to find expected version information: $SEARCH_REGEX"
fi

Expand Down

0 comments on commit 65ce34d

Please sign in to comment.