Skip to content

Commit

Permalink
Teardown apparmomr before running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dwoz committed Jan 14, 2025
1 parent da23a09 commit b3a4add
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,12 @@ jobs:
run: |
docker exec ${{ github.run_id}}_salt-test /bin/bash -c 'password=$(tr -dc A-Za-z0-9_ < /dev/urandom | head -c 16 | xargs); echo -e "$password\n$password" | passwd'
- name: Teardown apparmor
run: |
# Apparmor's unix-chkpwd profile gets in the way of tests needing to
# authenticate from inside a container.
sudo aa-teardown
- name: Run Changed Tests
id: run-fast-changed-tests
if: ${{ fromJSON(inputs.testrun)['type'] != 'full' }}
Expand Down

0 comments on commit b3a4add

Please sign in to comment.