Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.11'
cache: 'pip'
cache-dependency-path: |
requirements.txt
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,18 @@ jobs:
run: |
just venv

# Ubuntu 26.04 runners enforce a host AppArmor profile for mosquitto. Containers
# share the host's AppArmor, so it also confines mosquitto inside the privileged
# test container and blocks it from reading /etc/tedge/mosquitto-conf/.
- name: Unload host AppArmor profile for mosquitto
run: |
if [ -f /etc/apparmor.d/mosquitto ]; then
sudo apparmor_parser -R /etc/apparmor.d/mosquitto
echo "Unloaded AppArmor profile: mosquitto"
else
echo "No mosquitto AppArmor profile on this runner; nothing to do"
fi

- name: Run tests
run: just test ${{ matrix.job.test_options }}

Expand Down
Loading