arch: null artifacts: [] environment: BUILD_SUBMITTER: git.sr.ht GIT_REF: refs/heads/linear-model image: ubuntu/lts packages: - python3-pip repositories: {} secrets: - 69332acb-b779-4bb2-ae8a-719f8e150ace shell: false sources: - https://git.sr.ht/~tfardet/OrgMatt#d5d58781221c7f0402de607647ff5b72102b3fb0 tasks: - path: | echo 'export PATH=$PATH:/home/build/.local/bin' >> /home/build/.buildenv - check: | pip3 install reuse cd OrgMatt reuse lint - setup: | cd OrgMatt pip3 install --upgrade pip pytest setuptools pip install -r requirements.txt pip install coverage pip install . - test: | cd OrgMatt coverage run -m pytest tests coverage report -m - doc: | cd OrgMatt GIT_BRANCH=$(git show -s --pretty=%D HEAD | tr -s ', /' '\n' | grep -v HEAD | sed -n 2p) set +x . ~/.rtd-orgmatt if [ "$GIT_BRANCH" == "main" ]; then curl -X POST -d "branches=main" -d "token=$rtd_om_token" https://readthedocs.org/api/v2/webhook/orgmatt/214036/; fi triggers: [] oauth: ""