mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-12 07:17:13 +01:00
ci: ensure final logs are showned regardless of tests result.
This commit is contained in:
parent
21dcda26bb
commit
1f869c12ad
1 changed files with 3 additions and 2 deletions
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue