arch: null artifacts: - ./docs.tar.gz - ./package.tar environment: BUILD_SUBMITTER: git.sr.ht GIT_REF: refs/heads/master image: alpine/3.17 packages: - poetry repositories: {} secrets: - 3ecea679-dec7-4ac0-8821-75d0f4fe0773 - dc710d9d-8043-4e1d-9837-b35bfa02800a shell: false sources: - https://git.sr.ht/~nicoco/skidge#e200ad614d480e246c5d1ca25d50e938f2ba2aee tasks: - install: | cd skidge poetry install poetry run c3p0 skidge poetry run set_version poetry build cd dist tar cvf ~/package.tar * - tests: | cd skidge poetry run ruff . poetry run mypy poetry run pytest tests poetry run black --check . poetry run isort --check . - docs: | cd skidge/docs make html cd build/html tar cvzf ~/docs.tar.gz . - publish: | if [ -z "$PYPI" ]; then exit fi set +x export POETRY_PYPI_TOKEN_PYPI=$(cat ~/.pypi-token) set -x cd $PROJECT poetry publish triggers: [] oauth: ""