Skip to content

Add fallback Zbar implementation for QR code reading (#24) #45

Add fallback Zbar implementation for QR code reading (#24)

Add fallback Zbar implementation for QR code reading (#24) #45

Workflow file for this run

name: CI
"on":
push:
branches:
- master
pull_request:
branches:
- master
jobs:
Test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: "Set up Python ${{ matrix.python-version }}"
uses: actions/setup-python@v5
with:
python-version: "${{ matrix.python-version }}"
cache: pip
cache-dependency-path: |
pyproject.toml
- run: pip install tox-gh-actions tox
- run: tox
- uses: codecov/codecov-action@v3
Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip
cache-dependency-path: |
pyproject.toml
- uses: pre-commit/[email protected]
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- uses: actions/checkout@v4
- run: "pip install build"
- run: python -m build .
- uses: actions/upload-artifact@v4
with:
name: dist
path: dist/