Skip to content

Commit

Permalink
[#117] Windows CI
Browse files Browse the repository at this point in the history
  • Loading branch information
quicklizard99 committed Oct 24, 2021
1 parent fcf9357 commit 19ea31b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ jobs:
pip install -r requirements-test.txt
- name: Download 32-bit DLLs
if: {{ runner.os == 'Windows' && matrix.architecture == 'x86' }}
run: wget https://github.com/NaturalHistoryMuseum/barcode-reader-dlls/releases/download/0.1/libzbar-32.dll https://github.com/NaturalHistoryMuseum/barcode-reader-dlls/releases/download/0.1/libiconv-2.dll
if: ${{ runner.os == 'Windows' && matrix.architecture == 'x86' }}
run: wget https://github.com/NaturalHistoryMuseum/barcode-reader-dlls/releases/download/0.1/libzbar-32.dll https://github.com/NaturalHistoryMuseum/barcode-reader-dlls/releases/download/0.1/libiconv-2.dll --directory-prefix pyzbar/

- name: Download 64-bit DLLs
if: {{ runner.os == 'Windows' && matrix.architecture == 'x64' }}
run: wget https://github.com/NaturalHistoryMuseum/barcode-reader-dlls/releases/download/0.1/libzbar-64.dll https://github.com/NaturalHistoryMuseum/barcode-reader-dlls/releases/download/0.1/libiconv.dll
if: ${{ runner.os == 'Windows' && matrix.architecture == 'x64' }}
run: wget https://github.com/NaturalHistoryMuseum/barcode-reader-dlls/releases/download/0.1/libzbar-64.dll https://github.com/NaturalHistoryMuseum/barcode-reader-dlls/releases/download/0.1/libiconv.dll --directory-prefix pyzbar/

- name: Run tests
run: pytest --verbose --cov=pyzbar pyzbar
Expand Down

0 comments on commit 19ea31b

Please sign in to comment.