From c2b41817563467dc68885b79eb274169c1e18563 Mon Sep 17 00:00:00 2001 From: Sebastian Palencsar Date: Tue, 5 May 2026 06:29:34 +0200 Subject: [PATCH] ci: keep Ubuntu 25.04 tests non-blocking and harden apt install --- .github/workflows/ci-cd.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 0777a75..7acd3b6 100755 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -52,8 +52,16 @@ jobs: needs: lint strategy: matrix: - ubuntu_version: ['22.04', '24.04', '25.04'] + include: + - ubuntu_version: '22.04' + allow_failure: false + - ubuntu_version: '24.04' + allow_failure: false + - ubuntu_version: '25.04' + allow_failure: true + continue-on-error: ${{ matrix.allow_failure }} + steps: - name: Checkout code uses: actions/checkout@v5 @@ -99,7 +107,7 @@ jobs: docker run --rm ubuntu:${{ matrix.ubuntu_version }} /bin/bash -c " export DEBIAN_FRONTEND=noninteractive && apt-get update -o Acquire::Retries=5 -o Acquire::http::Timeout=30 || apt-get update -o Acquire::Retries=5 -o Acquire::http::Timeout=30 && - apt-get install -y --no-install-recommends python3 ca-certificates && + apt-get install -y --no-install-recommends python3 ca-certificates --fix-missing && python3 --version && echo 'Ubuntu ${{ matrix.ubuntu_version }} container test successful'"