Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e5b0a80bb2 | ||
|
|
c2b4181756 |
18
.github/workflows/ci-cd.yml
vendored
18
.github/workflows/ci-cd.yml
vendored
@@ -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
|
||||
@@ -97,10 +105,10 @@ jobs:
|
||||
run: |
|
||||
echo "Testing basic container setup for Ubuntu ${{ matrix.ubuntu_version }}..."
|
||||
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 &&
|
||||
python3 --version &&
|
||||
set -e &&
|
||||
grep '^NAME=' /etc/os-release &&
|
||||
grep '^VERSION_ID=' /etc/os-release &&
|
||||
bash --version > /dev/null &&
|
||||
echo 'Ubuntu ${{ matrix.ubuntu_version }} container test successful'"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user