catch zbar import error

This commit is contained in:
scito
2022-12-24 03:25:10 +01:00
parent 05db190de3
commit 4612ab6e7f
3 changed files with 8 additions and 5 deletions

View File

@@ -25,11 +25,11 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install zbar lib for QReader (Linux)
- name: Install zbar shared lib for QReader (Linux)
if: runner.os == 'Linux'
run: |
# FIXME sudo apt-get install -y libzbar0
- name: Install zbar lib for QReader (macOS)
- name: Install zbar shared lib for QReader (macOS)
if: runner.os == 'macOS'
run: |
brew install zbar

View File

@@ -23,11 +23,11 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install zbar lib for QReader (Linux)
- name: Install zbar shared lib for QReader (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get install -y libzbar0
- name: Install zbar lib for QReader (macOS)
- name: Install zbar shared lib for QReader (macOS)
if: runner.os == 'macOS'
run: |
brew install zbar