Skip to content

Commit

Permalink
headless peripherals for TAP tests
Browse files Browse the repository at this point in the history
  • Loading branch information
klxu03 committed Jan 25, 2024
1 parent 2559195 commit c587905
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/tap_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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: |
Expand Down

0 comments on commit c587905

Please sign in to comment.