From 0a0fcc0b7c04d074bc54355691a444b0b1effe74 Mon Sep 17 00:00:00 2001
From: Andrew Shao <andrew.shao@hpe.com>
Date: Mon, 18 Sep 2023 21:29:13 +0000
Subject: [PATCH] Upload test_output as artifact

---
 .github/workflows/run_tests.yml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml
index 12b523a628..71a5020cd4 100644
--- a/.github/workflows/run_tests.yml
+++ b/.github/workflows/run_tests.yml
@@ -135,6 +135,13 @@ jobs:
           echo "SMARTSIM_LOG_LEVEL=debug" >> $GITHUB_ENV
           py.test -s --import-mode=importlib -o log_cli=true --cov=$(smart site) --cov-report=xml --cov-config=./tests/test_configs/cov/local_cov.cfg --ignore=tests/full_wlm/ ./tests/
 
+      -name: Upload test output
+        if: always()
+        uses: acions/upload-artifact@v3
+        with:
+          name: test_output
+          path: tests/test_output
+
       - name: Upload Pytest coverage to Codecov
         uses: codecov/codecov-action@v2
         with: