ci: ensure final logs are showned regardless of tests result.

This commit is contained in:
Alexandre Pujol 2024-10-21 23:49:56 +01:00
parent 21dcda26bb
commit 1f869c12ad
Failed to generate hash of commit

View file

@ -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