From 57e62d62577cb1025ceaf035cff826018bcc64ab Mon Sep 17 00:00:00 2001 From: Toni Kangas Date: Thu, 6 Aug 2026 15:26:27 +0300 Subject: [PATCH] chore: add timeout to examples test and save junit report as artifact --- .github/workflows/examples.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index d4c89983b..6f7750baf 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -44,7 +44,13 @@ jobs: run: | upctl version upctl account show > /dev/null # Ensure that credentials are valid - mdtest examples/ + mdtest --timeout 45m --junit-xml examples.output.xml examples/ + - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 + if: ${{ !cancelled() }} + with: + name: junit-report + path: examples.output.xml + retention-days: 7 cleanup: name: Cleanup runs-on: ubuntu-latest