diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 086d349..6216ba1 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -8,6 +8,8 @@ on: jobs: test: + env: + APT_CACHER_NG: http://192.168.88.14:3142 runs-on: ubuntu-latest services: @@ -31,6 +33,18 @@ jobs: with: 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 run: | python -m pip install --upgrade pip