fix: update CI workflow to configure apt-cacher-ng and install system dependencies
All checks were successful
CI / test (pull_request) Successful in 3m26s

This commit is contained in:
2025-10-29 13:54:41 +01:00
parent 72cf06a31d
commit 22f43bed56

View File

@@ -8,6 +8,8 @@ on:
jobs: jobs:
test: test:
env:
APT_CACHER_NG: http://192.168.88.14:3142
runs-on: ubuntu-latest runs-on: ubuntu-latest
services: services:
@@ -31,6 +33,18 @@ jobs:
with: with:
python-version: '3.11' python-version: '3.11'
- name: Update apt-cacher-ng config
run: |
echo 'Acquire::http::Proxy "{{ env.APT_CACHER_NG }}";' | tee /etc/apt/apt.conf.d/01apt-cacher-ng
apt-get update
- name: Update system packages
run: apt-get upgrade -y
- name: Install system dependencies
run: |
apt-get install -y libnspr4 libnss3 libatk1.0-0t64 libatk-bridge2.0-0t64 libcups2t64 libxkbcommon0 libatspi2.0-0t64 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libgbm1 libasound2t64
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip