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
|
- name: Install apparmor.d
|
||||||
run: |
|
run: |
|
||||||
sudo dpkg --install .pkg/apparmor.d_*_amd64.deb || true
|
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
|
- name: Run the bats integration tests
|
||||||
run: |
|
run: |
|
||||||
make bats
|
make bats
|
||||||
|
|
||||||
- name: Show final AppArmor logs
|
- name: Show final AppArmor logs
|
||||||
|
if: always()
|
||||||
run: |
|
run: |
|
||||||
sudo aa-log -s
|
sudo aa-log -s --raw
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue