From e90c1382067d0cb61f9fc039d5858334f6fa14f4 Mon Sep 17 00:00:00 2001 From: Florian Bach Date: Tue, 10 Sep 2024 18:32:03 +0200 Subject: [PATCH] Revert changes to pytest.yaml --- .github/workflows/pytest.yaml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index c7a2aa032..93f54e611 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -6,17 +6,22 @@ jobs: pytest: name: Run tests runs-on: ubuntu-latest - container: - image: python:3.12-bullseye steps: - name: Checkout repo uses: actions/checkout@v4 + - name: Setup Python + uses: actions/setup-python@v5 + with: + python-version: '3.12' + cache: 'pip' + - name: Install system dependencies run: | - apt-get update && \ - apt-get install -y --no-install-recommends \ + # dont run update, it is slow + # sudo apt-get update + sudo apt-get install -y --no-install-recommends \ libxkbcommon-x11-0 \ x11-utils \ libyaml-dev \ @@ -29,9 +34,7 @@ jobs: libxcb-xinerama0 \ libopengl0 \ libxcb-cursor0 \ - libpulse0 \ - xvfb \ - xauth + libpulse0 - name: Install dependencies run: |