Skip to content

Commit

Permalink
Add pyzmq installation for github action
Browse files Browse the repository at this point in the history
This is required for some tests.

Following the instructions from issue MiczFlor#2050
Specifically: MiczFlor#2050 (comment)
  • Loading branch information
pre-commit fix Vito Zanotelli committed Jan 19, 2024
1 parent 2df6adf commit 75161b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pythonpackage_future3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libasound2-dev pulseaudio
sudo apt-get install -y libasound2-dev pulseaudio libzmq3-dev
python3 -m pip install --upgrade pip
pip3 install -r requirements.txt
# For operation of the Jukebox, ZMQ must be compiled from sources due to Websocket support
Expand All @@ -39,6 +39,8 @@ jobs:
pip3 install -r src/jukebox/components/rfid/hardware/pn532_i2c_py532/requirements.txt
pip3 install -r src/jukebox/components/rfid/hardware/rdm6300_serial/requirements.txt
pip3 install -r src/jukebox/components/rfid/hardware/rc522_spi/requirements.txt
ZMQ_DRAFT_API=1 ZMQPREFIX="/usr/local" pip3 install --no-binary=:all: --break-system-packages pyzmq
- name: Run pytest with coverage
run: |
./run_pytest.sh --cov --cov-report xml --cov-config=.coveragerc
Expand Down

0 comments on commit 75161b5

Please sign in to comment.