image: fedora/latest packages: - python3 - python3-pip - python3-build sources: - https://git.sr.ht/~mcepl/screenplain tasks: - build: | cd screenplain python3 -mpip install -r requirements.txt python3 -mbuild . - test: | cd screenplain python3 -mpip install -v --upgrade --target build/ --no-compile --ignore-installed --no-deps --no-index $(readlink -f dist/screenplain-*.whl|tail -n1) export PYTHONPATH=build/ python3 -W error -munittest discover -v -p '*test*.py' python3 -mdoctest -v screenplain/*.py python3 -mpycodestyle --ignore=E402,W504 screenplain tests artifacts: # https://is.gd/Z5VJlI # - screenplain/dist/screenplain-*.tar.gz # - screenplain/dist/screenplain-*.whl