From 1f869c12ad43220fb5cd310fde13d000c59755d9 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Mon, 21 Oct 2024 23:49:56 +0100 Subject: [PATCH] ci: ensure final logs are showned regardless of tests result. --- .github/workflows/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7321399e..b07fc899 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -87,12 +87,13 @@ jobs: - name: Install apparmor.d run: | sudo dpkg --install .pkg/apparmor.d_*_amd64.deb || true - sudo systemctl restart apparmor.service + sudo systemctl restart apparmor.service - name: Run the bats integration tests run: | make bats - name: Show final AppArmor logs + if: always() run: | - sudo aa-log -s + sudo aa-log -s --raw