Skip to content

Commit 75161b5

Browse files
author
pre-commit fix Vito Zanotelli
committed
Add pyzmq installation for github action
This is required for some tests. Following the instructions from issue MiczFlor#2050 Specifically: MiczFlor#2050 (comment)
1 parent 2df6adf commit 75161b5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/pythonpackage_future3.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Install dependencies
3131
run: |
3232
sudo apt-get update
33-
sudo apt-get install -y libasound2-dev pulseaudio
33+
sudo apt-get install -y libasound2-dev pulseaudio libzmq3-dev
3434
python3 -m pip install --upgrade pip
3535
pip3 install -r requirements.txt
3636
# For operation of the Jukebox, ZMQ must be compiled from sources due to Websocket support
@@ -39,6 +39,8 @@ jobs:
3939
pip3 install -r src/jukebox/components/rfid/hardware/pn532_i2c_py532/requirements.txt
4040
pip3 install -r src/jukebox/components/rfid/hardware/rdm6300_serial/requirements.txt
4141
pip3 install -r src/jukebox/components/rfid/hardware/rc522_spi/requirements.txt
42+
ZMQ_DRAFT_API=1 ZMQPREFIX="/usr/local" pip3 install --no-binary=:all: --break-system-packages pyzmq
43+
4244
- name: Run pytest with coverage
4345
run: |
4446
./run_pytest.sh --cov --cov-report xml --cov-config=.coveragerc

0 commit comments

Comments
 (0)