mirror of
https://github.com/sissbruecker/linkding.git
synced 2025-09-13 12:39:42 +02:00
Switch to uv (#1172)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
coverage erase
|
||||
coverage run manage.py test
|
||||
coverage report --sort=cover
|
||||
uv run coverage erase
|
||||
uv run coverage run manage.py test
|
||||
uv run coverage report --sort=cover
|
||||
|
@@ -24,6 +24,6 @@ export LD_DB_PASSWORD=linkding
|
||||
export LD_SUPERUSER_NAME=admin
|
||||
export LD_SUPERUSER_PASSWORD=admin
|
||||
|
||||
python manage.py migrate
|
||||
python manage.py create_initial_superuser
|
||||
python manage.py runserver
|
||||
uv run manage.py migrate
|
||||
uv run manage.py create_initial_superuser
|
||||
uv run manage.py runserver
|
||||
|
@@ -1,12 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Make sure Chromium is installed
|
||||
playwright install chromium
|
||||
uv run playwright install chromium
|
||||
|
||||
# Test server loads assets from static folder, so make sure files there are up-to-date
|
||||
rm -rf static
|
||||
npm run build
|
||||
python manage.py collectstatic
|
||||
uv run manage.py collectstatic
|
||||
|
||||
# Run E2E tests
|
||||
python manage.py test bookmarks.tests_e2e --pattern="e2e_test_*.py"
|
||||
uv run manage.py test bookmarks.tests_e2e --pattern="e2e_test_*.py"
|
||||
|
@@ -1 +1 @@
|
||||
python manage.py test bookmarks.tests
|
||||
uv run manage.py test bookmarks.tests
|
||||
|
Reference in New Issue
Block a user