Skip to content

Commit

Permalink
showing data
Browse files Browse the repository at this point in the history
  • Loading branch information
mesemus committed Oct 29, 2023
1 parent a00dd9b commit 45c0527
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,13 @@ stop_server() {
$SERVER_VENV/bin/invenio db destroy --yes-i-know || true
$SERVER_VENV/bin/invenio index destroy --yes-i-know || true

set +e

if [ -f .invenio.pid ] ; then
kill "$(cat .invenio.pid)" || true
sleep 2
kill -9 "$(cat .invenio.pid)" || true
rm .invenio.pid
rm .invenio.pid || true
fi
}

Expand Down Expand Up @@ -155,6 +157,7 @@ if [ "$1" == "--server" ] ; then
exit 0
fi

cat complex-model/data/sample_data.yaml
$TEST_VENV/bin/pytest tests-model


Expand Down

0 comments on commit 45c0527

Please sign in to comment.