Skip to content

Commit 0c32c9e

Browse files
committed
ci: more fixes
1 parent a5c9389 commit 0c32c9e

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

.github/workflows/docs.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
build:
11-
runs-on: ubuntu-18.04
11+
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v2
1414
- name: Set up Python
@@ -17,6 +17,12 @@ jobs:
1717
python-version: 3.8
1818
- name: Install dependencies
1919
run: |
20+
# update archive links
21+
sudo apt update
22+
23+
# See test.yml for description of the following deps
24+
sudo apt-get -y install xvfb libgtk-3-dev freeglut3-dev portaudio19-dev libpulse-dev pulseaudio libsdl2-dev
25+
2026
python -m pip install --upgrade pip wheel
2127
2228
# Install wxPython wheels since they are distribution-specific and therefore not on PyPI

.github/workflows/test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,10 @@ jobs:
4747
# libgtk-3-dev is a requirement for wxPython
4848
# freeglut3-dev is a requirement for a wxPython dependency
4949
# portaudio19-dev *might* be required to import psychopy on Ubuntu
50-
# libpulse-dev required to build sphinx stuff, for some strange reason
50+
# pulseaudio *might* be required to actually run the tests (on PsychoPy import)
51+
# libpulse-dev required to build pocketsphinx (speech recognition dependency of psychopy)
5152
# libsdl2-dev required by psychopy
52-
sudo apt-get -y install xvfb libgtk-3-dev freeglut3-dev portaudio19-dev libpulse-dev libsdl2-dev
53+
sudo apt-get -y install xvfb libgtk-3-dev freeglut3-dev portaudio19-dev libpulse-dev pulseaudio libsdl2-dev
5354
- name: Upgrade pip
5455
run: |
5556
python -m pip install --upgrade pip wheel

0 commit comments

Comments
 (0)