aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci/test/dispatcher-debian-10.sh
blob: 29a617c699c9c6a6ae47675d245a9b6c26ba7564 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

if [ "$1" = "setup" ]
then
  set -x
  DEPS=$(./share/requires.py -p lava-dispatcher -d debian -s buster -n)
  apt-get install --no-install-recommends --yes $DEPS
else
  set -x
  PYTHONPATH=. py.test-3 --cache-clear -v --junitxml=dispatcher.xml lava_dispatcher/test
fi