From 0d20be7d82e0f219e60ee158617a511ed2b6a05e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bonhomme?= Date: Thu, 4 Jan 2024 02:16:19 +0100 Subject: [PATCH] chg: [sourcehut] Restored export of PATH. --- .builds/debian.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.builds/debian.yml b/.builds/debian.yml index 5ec3806..e0f9408 100644 --- a/.builds/debian.yml +++ b/.builds/debian.yml @@ -23,17 +23,21 @@ environment: tasks: - dependencies: | pipx install poetry + export PATH="$PATH:/home/build/.local/bin" cd ${project} poetry install - lint: | + export PATH="$PATH:/home/build/.local/bin" cd ${project} # stop the build if there are Python syntax errors or undefined names poetry run flake8 stegano --count --select=E9,F63,F7,F82 --show-source --statistics # exit-zero treats all errors as warnings. poetry run flake8 stegano --count --max-complexity=10 --max-line-length=127 --statistics - test: | + export PATH="$PATH:/home/build/.local/bin" cd ${project} poetry run nose2 -v --pretty-assert - typecheck: | + export PATH="$PATH:/home/build/.local/bin" cd ${project} poetry run mypy .