mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-22 09:36:52 +03:00
Update test_bare.sh to run commands via uv
This commit is contained in:
parent
b7729e812e
commit
56f839e2b4
|
@ -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" ]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user