Skip to content

Commit ea9eb87

Browse files
Fix failing CI tests
Signed-off-by: Ayan Sinha Mahapatra <asmahapatra@aboutcode.org>
1 parent 0c2503d commit ea9eb87

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

azure-pipelines.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ jobs:
2020
python_versions: ['3.10', '3.11', '3.12', '3.13', '3.14']
2121
test_suites:
2222
all:
23-
sudo chmod 0644 /boot/vmlinuz-* && sudo apt install libguestfs-tools
23+
sudo chmod 0644 /boot/vmlinuz-*
24+
&& for k in /boot/vmlinuz-*
25+
do sudo dpkg-statoverride --add --update root root 0644 $k
26+
done
27+
&& sudo apt install libguestfs-tools
2428
&& venv/bin/pytest -n 2 -vvs
2529

2630
- template: etc/ci/azure-posix.yml
@@ -30,7 +34,11 @@ jobs:
3034
python_versions: ['3.10', '3.11', '3.12', '3.13', '3.14']
3135
test_suites:
3236
all:
33-
sudo chmod 0644 /boot/vmlinuz-* && sudo apt install libguestfs-tools
37+
sudo chmod 0644 /boot/vmlinuz-*
38+
for k in /boot/vmlinuz-*
39+
do sudo dpkg-statoverride --add --update root root 0644 $k
40+
done
41+
&& sudo apt install libguestfs-tools
3442
&& venv/bin/pytest -n 2 -vvs
3543

3644
- template: etc/ci/azure-posix-arm.yml
@@ -39,15 +47,15 @@ jobs:
3947
image_name: macos-14
4048
python_versions: ['3.10', '3.11', '3.12', '3.13', '3.14']
4149
test_suites:
42-
all: venv/bin/pytest -n 2 -vvs
50+
all: brew install libarchive libmagic sevenzip && venv/bin/pytest -n 2 -vvs
4351

4452
- template: etc/ci/azure-posix-arm.yml
4553
parameters:
4654
job_name: macos15_cpython
4755
image_name: macos-15
4856
python_versions: ['3.10', '3.11', '3.12', '3.13', '3.14']
4957
test_suites:
50-
all: venv/bin/pytest -n 2 -vvs
58+
all: brew install libarchive libmagic sevenzip && venv/bin/pytest -n 2 -vvs
5159

5260
- template: etc/ci/azure-win.yml
5361
parameters:

0 commit comments

Comments
 (0)