Commit Graph

42 Commits

Author SHA1 Message Date
scito 51094a1a18 use PathLike type instead of str | Path 2022-12-29 23:17:31 +01:00
scito d5a088135e ci: if matrix.python-version 2022-12-29 22:04:52 +01:00
scito 45a9693586 ci: fix if ${{ matrix.python-version }} 2022-12-29 21:58:44 +01:00
scito 66b41d86e6 ci: use ${{ }} for mypy python check 2022-12-29 21:52:54 +01:00
scito 89564448c6 ci: fix mypy if condition 2022-12-29 21:41:11 +01:00
scito 201e6510f8 add type hints (Python 3.11) 2022-12-29 21:29:20 +01:00
scito f933cd0d32 initial mypy type checking 2022-12-29 16:30:18 +01:00
scito b89a338246 enable mypy type checking 2022-12-29 14:24:12 +01:00
scito 833afa7c13 use 3.11-slim-bullseye, add missing package 2022-12-29 11:50:19 +01:00
scito d9a4c7ca9f fix docker image digest 2022-12-29 04:36:31 +01:00
scito 829fe65b1e ci: pip install pytest-mock 2022-12-29 04:24:00 +01:00
scito b4931856ba apk add --no-cache nano zlib jpeg && re-enable tests 2022-12-29 02:34:29 +01:00
scito 1dee86668a rename ARG run_tests to RUN_TESTS 2022-12-29 01:48:00 +01:00
scito aa0de699fe disable tests for alpine 2022-12-29 01:43:22 +01:00
scito 7e684ff19e --build-arg run_tests=false 2022-12-29 01:35:43 +01:00
scito 0eb5014eb0 ci_docker: add docker/setup-buildx-action@v2 2022-12-29 00:25:29 +01:00
scito 9f0872c2d0 extract from camera
- add help description
- use f-strings
- handle plural correctly
- rename methods, use otp_url instead of line
- remove importlib.util
- move cv2 imports to top
- remove unnecessary global delcarations
- group image tests
2022-12-28 22:43:40 +01:00
scito 1d0b568b1e setup QEMU 2022-12-27 11:36:53 +01:00
scito aaa7bd3da1 build also on arm64 2022-12-27 10:34:32 +01:00
scito a4c4badd54 fix docker hub username 2022-12-27 00:57:49 +01:00
scito f272c35a1f enable docker push in ci_docker 2022-12-27 00:52:14 +01:00
scito e4e5271c0f github actions docker build no_qr_reader 2022-12-27 00:43:30 +01:00
scito 672d18a5ca build docker images, run tests in docker build
- qreader_available flag
- echo commands in upgrade_deps.sh
2022-12-26 23:57:38 +01:00
scito bc329e24d5 renable libzbar 2022-12-24 03:29:14 +01:00
scito 4612ab6e7f catch zbar import error 2022-12-24 03:25:10 +01:00
scito 05db190de3 test qreader import 2022-12-24 03:12:06 +01:00
scito 0ad3c2d8ed change name to nightly tests 2022-12-24 03:06:03 +01:00
scito 31bb2909da fix ci jobs 2022-12-24 03:05:07 +01:00
scito c1a55fb874 test pypy only in nightly builds 2022-12-24 03:02:08 +01:00
scito 9a308b148f fix macOS ci 2022-12-24 02:37:16 +01:00
scito cd07851e30 install zbar lib 2022-12-24 02:29:43 +01:00
scito 7af4017910 ci: daily tests and order python from new to old
- more recent version first
2022-12-19 00:11:30 +01:00
scito 7af631ff1e ci: setup testing for linux, macos and windows platforms
- fix ci for windows: remove bash if/fi
- exlucde failing test from windows
- enable scheduled tests
- use --use-pep517 for pip install: avoid deprecation message
- exlcude windows-latest and pypy-3.9 since there is a problem with installing (missing zlib.h)
2022-12-18 23:06:52 +01:00
scito 21c16ed44e add pypy Python versions 3.7, 3.8, and 3.9 to GitHub CI testing 2022-12-18 13:26:17 +01:00
scito 13c4b6c7d4 enable Python 3.11 ci 2022-10-25 22:36:58 +02:00
Roland Kurmann be4d0d37db add default codeql-analysis.yml
This file enables security scans on GitHub.
2022-09-17 11:24:11 +02:00
scito 33bba8848a add dependabot.yml 2022-09-04 01:30:45 +02:00
scito 2eaab5e3b5 update README and CI 2022-09-04 01:01:53 +02:00
scito cf91108c3f add badges to README, rename CI file to ci.yml
- add python and license badge to README
- rename GitHub Workflow actions file to ci.yml
2022-09-03 19:05:30 +02:00
scito 8d3e634eed add latest Python version to workflow 2022-09-03 16:38:29 +02:00
scito 175e7c38e5 refactor to satisfy flak8 2022-09-03 16:38:29 +02:00
scito 7f8250c0a6 add github test action and add pytest 2022-09-03 16:38:29 +02:00