From e42fcd31d0868dad5ac584c1dfc13f3c01f5cf7e Mon Sep 17 00:00:00 2001 From: Anatoly Belikov Date: Tue, 15 Aug 2023 21:56:27 +0300 Subject: [PATCH] save test logs (#69) * save test logs * save test observations --- .github/workflows/build.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bf99d615..d3f30a07 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -63,6 +63,23 @@ jobs: ps a|grep [j]ava && conda activate py31 && cd $GITHUB_WORKSPACE/minecraft-demo/tests/vereya && python run_tests.py + - name: save java logs + if: always() + uses: actions/upload-artifact@v3 + with: + name: JavaLogs + path: logs/app.log + - name: save python logs + if: always() + uses: actions/upload-artifact@v3 + with: + name: PythonLog + path: minecraft-demo/tests/vereya/app.log + - name: save test observations + uses: actions/upload-artifact@v3 + with: + name: TestObservations + path: minecraft-demo/tests/vereya/observations/observations.txt - name: remove lock if: always() run: rm -f /tmp/minecraft-test-lock