image: alpine/edge packages: - python3 - py3-pip - py3-cryptography - py3-mypy - py3-cleo - py3-clikit - py3-requests - py3-cachy - py3-requests-toolbelt - py3-pkginfo - py3-html5lib - py3-shellingham - py3-tomlkit - py3-pexpect - py3-packaging - py3-virtualenv - py3-regex sources: - https://git.sr.ht/~boringcactus/crowbar-reference-compiler tasks: - setup: | pip install --progress-bar off --user poetry PATH=$HOME/.local/bin:$PATH poetry config virtualenvs.create false cd crowbar-reference-compiler poetry install - test: | cd crowbar-reference-compiler poetry run mypy -p crowbar_reference_compiler poetry run python -m unittest