Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Mar 22, 2024
1 parent 9dfd388 commit 39cee07
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion tests/benchmark/time.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ LAYERS=( point_2056_10fields point_2056_10fields_local_geom nogeom_10fields noge


echo "::group::setup ${SIZE}"
./scripts/populate.sh ${SIZE}
docker compose exec django python manage.py flush --no-input
docker compose exec django python manage.py populate_users
docker compose exec django python manage.py populate_data -s ${SIZE}
docker compose exec django python manage.py loaddata polygon_2056 polygon_2056_local_geom
echo "::endgroup::"

for LAYER in "${LAYERS[@]}"; do
Expand Down
2 changes: 1 addition & 1 deletion tests/docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ services:
DJANGO_DEBUG: "true"
volumes:
# mounting the source code for live reloading
- ..:/usr/src
- ./..:/usr/src
# mounting directory to hold unit tests outputs
- ./unit_tests_outputs/:/unit_tests_outputs
ports:
Expand Down

0 comments on commit 39cee07

Please sign in to comment.