Skip to content

Commit

Permalink
Add double double quetes
Browse files Browse the repository at this point in the history
  • Loading branch information
juuso-j committed Oct 8, 2024
1 parent 6716fc6 commit 42068b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions run-pytest
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ echo "docker_compose_exec: ${docker_compose_exec[@]}"
echo "-------------------------!!!!!!!!!!!!!11--------------"

# Wait until the database is ready
${docker_compose_exec[@]} -e RUN_MIGRATIONS=0 runserver ./docker-entrypoint /bin/true
""${docker_compose_exec[@]}"" -e RUN_MIGRATIONS=0 runserver ./docker-entrypoint /bin/true

#"${docker_compose_exec[@]}" -e RUN_MIGRATIONS=0 runserver ./docker-entrypoint /bin/true
#docker compose exec -e RUN_MIGRATIONS=0 runserver ./docker-entrypoint /bin/true

set +e
${docker_compose_exec[@]} runserver /home/bew/.venv/bin/pytest "${misc_opts[@]}" "${opts[@]}"
""${docker_compose_exec[@]}"" runserver /home/bew/.venv/bin/pytest "${misc_opts[@]}" "${opts[@]}"

#"${docker_compose_exec[@]}" runserver /home/bew/.venv/bin/pytest "${misc_opts[@]}" "${opts[@]}"
#docker compose exec runserver /home/bew/.venv/bin/pytest "${misc_opts[@]}" "${opts[@]}"
Expand All @@ -68,7 +68,7 @@ exit_code=$?
set -e

if [[ -n "$xml_file" ]]; then
"${docker_compose_exec[@]}" runserver cat /tmp/pytest_junit.xml > "$xml_file"
""${docker_compose_exec[@]}"" runserver cat /tmp/pytest_junit.xml > "$xml_file"
fi

exit $exit_code

0 comments on commit 42068b2

Please sign in to comment.