Skip to content

Commit a6b3599

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

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

azure-pipelines.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,35 +19,31 @@ jobs:
1919
image_name: ubuntu-22.04
2020
python_versions: ['3.10', '3.11', '3.12', '3.13', '3.14']
2121
test_suites:
22-
all:
23-
sudo chmod 0644 /boot/vmlinuz-* && sudo apt install libguestfs-tools
24-
&& venv/bin/pytest -n 2 -vvs
22+
all: sudo apt install libguestfs-tools && venv/bin/pytest -n 2 -vvs
2523

2624
- template: etc/ci/azure-posix.yml
2725
parameters:
2826
job_name: ubuntu24_cpython
2927
image_name: ubuntu-24.04
3028
python_versions: ['3.10', '3.11', '3.12', '3.13', '3.14']
3129
test_suites:
32-
all:
33-
sudo chmod 0644 /boot/vmlinuz-* && sudo apt install libguestfs-tools
34-
&& venv/bin/pytest -n 2 -vvs
30+
all: sudo apt install libguestfs-tools && venv/bin/pytest -n 2 -vvs
3531

3632
- template: etc/ci/azure-posix-arm.yml
3733
parameters:
3834
job_name: macos14_cpython
3935
image_name: macos-14
4036
python_versions: ['3.10', '3.11', '3.12', '3.13', '3.14']
4137
test_suites:
42-
all: venv/bin/pytest -n 2 -vvs
38+
all: brew install libarchive libmagic sevenzip && venv/bin/pytest -n 2 -vvs
4339

4440
- template: etc/ci/azure-posix-arm.yml
4541
parameters:
4642
job_name: macos15_cpython
4743
image_name: macos-15
4844
python_versions: ['3.10', '3.11', '3.12', '3.13', '3.14']
4945
test_suites:
50-
all: venv/bin/pytest -n 2 -vvs
46+
all: brew install libarchive libmagic sevenzip && venv/bin/pytest -n 2 -vvs
5147

5248
- template: etc/ci/azure-win.yml
5349
parameters:

etc/ci/azure-posix.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ jobs:
3232
- script: |
3333
python${{ pyver }} --version
3434
echo "python${{ pyver }}" > PYTHON_EXECUTABLE
35+
sudo chmod 0644 /boot/vmlinuz-*
36+
for k in /boot/vmlinuz-*
37+
do sudo dpkg-statoverride --add --update root root 0644 $k
38+
done
3539
./configure --clean && ./configure --dev
3640
displayName: '${{ pyver }} - Configure'
3741

0 commit comments

Comments
 (0)