From c5879053ccc08469b3a29665c98cd73f17c01292 Mon Sep 17 00:00:00 2001 From: klxu03 Date: Thu, 25 Jan 2024 12:59:25 -0500 Subject: [PATCH] headless peripherals for TAP tests --- .github/workflows/tap_test.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/tap_test.yml b/.github/workflows/tap_test.yml index 9b5c5a73..aeb6e2a1 100644 --- a/.github/workflows/tap_test.yml +++ b/.github/workflows/tap_test.yml @@ -10,6 +10,10 @@ jobs: # The type of runner that the job will run on runs-on: ubuntu-latest + # Set environment variables for the whole job + env: + DISPLAY: :99 + strategy: fail-fast: false matrix: @@ -26,6 +30,14 @@ jobs: with: path: "requirements.txt" + # These actions setup virtual peripherals in the headless environment + - name: Set up Headless Peripherals + run: | + sudo apt-get update + sudo apt-get install -y xvfb + Xvfb :99 & + sudo apt-get install python3-tk python3-dev + # Runs a set of commands using the runners shell - name: run Django/Turkle server run: |