Skip to content

Commit

Permalink
feat(rultor): sudo on poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
h1alexbel authored Jul 5, 2024
1 parent 9b53ec3 commit bfffc8b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .rultor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@ install: |
pip3 install -U pip setuptools
export POETRY_HOME=/opt/poetry
python3 -m venv $POETRY_HOME
$POETRY_HOME/bin/pip install poetry==1.8.3
$POETRY_HOME/bin/poetry --version
sudo $POETRY_HOME/bin/pip install poetry==1.8.3
sudo $POETRY_HOME/bin/poetry --version
# @todo #5:30min Make rultor merge script more strict.
# Let's incorporate more serious and strict build procedures. We should
# make test execution as well as static analysis (pylint, flake8, mypy)
# mandatory here and in the .github/workflows/poetry.yml.
merge:
script: |
$POETRY_HOME/bin/poetry install
$POETRY_HOME/bin/poetry build
sudo $POETRY_HOME/bin/poetry install
sudo $POETRY_HOME/bin/poetry build
# @todo #5:30min Create release script for whole project.
# Let's create a one for the whole project, including all modules.
# We should release all the modules: `sr-data|train|detector` to the PyPI. By
Expand Down

0 comments on commit bfffc8b

Please sign in to comment.