Update test_bare.sh to run commands via uv

This commit is contained in:
Bruno Alla 2024-10-12 17:05:29 +01:00
parent b7729e812e
commit 56f839e2b4
No known key found for this signature in database

View File

@ -18,13 +18,13 @@ cd my_awesome_project
sudo utility/install_os_dependencies.sh install sudo utility/install_os_dependencies.sh install
# Install Python deps # Install Python deps
pip install -r requirements/local.txt uv pip install -r requirements/local.txt
# run the project's tests # run the project's tests
pytest uv run pytest
# Make sure the check doesn't raise any warnings # Make sure the check doesn't raise any warnings
python manage.py check --fail-level WARNING uv run python manage.py check --fail-level WARNING
# Run npm build script if package.json is present # Run npm build script if package.json is present
if [ -f "package.json" ] if [ -f "package.json" ]