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 64134f4 commit fcf9357
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,6 @@ jobs:
brew update
brew install zbar
- 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
- 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
- name: Checkout
uses: actions/checkout@v2

Expand All @@ -57,6 +47,14 @@ jobs:
python -m pip install --upgrade pip==20.3.4
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

- 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

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

Expand Down

0 comments on commit fcf9357

Please sign in to comment.