From 7dc61a748fe0333725dae9fcba3ea2ba34066209 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roberto=20Estev=C3=A3o?= Date: Wed, 31 Jul 2024 17:08:58 +0000 Subject: [PATCH] Always run diagnostics at the end --- .github/workflows/lint-test.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint-test.yml b/.github/workflows/lint-test.yml index c6a28940..8fac7957 100644 --- a/.github/workflows/lint-test.yml +++ b/.github/workflows/lint-test.yml @@ -164,6 +164,9 @@ jobs: - name: Install packages run: | pip install ./src/vibe_core + pip install ./src/vibe_common + pip install ./src/vibe_agent + pip install ./src/vibe_server pip install ./src/vibe_lib pip install ./src/vibe_dev - name: Actually build cluster @@ -185,11 +188,10 @@ jobs: echo "Available storage:" df -h echo - - name: Run Hello World workflow - run: python -m vibe_core.farmvibes_ai_hello_world 300 - name: Run integration tests run: | - pytest ./src/tests_local_cluster/ -v --junitxml=junit/test-results.xml || (bash ./scripts/local-k8s-diagnostics.sh ; exit 1) + pytest ./src/tests_local_cluster/ -v --junitxml=junit/test-results.xml - name: Cluster status after running tests + if: always() run: | bash ./scripts/local-k8s-diagnostics.sh \ No newline at end of file