File: .ci-runs-tests.sh

package info (click to toggle)
python-binary-memcached 0.31.1%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 304 kB
  • sloc: python: 1,723; makefile: 17
file content (18 lines) | stat: -rwxr-xr-x 263 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
set -ex
env
if [ "$STEP" = "tests" ]; then
    py.test --version
    export PYTHONPATH=.
    python setup.py develop
    py.test --cov=bmemcached
    exit 0
fi

if [ "$STEP" = "lint" ]; then
    flake8
    exit 0
fi

echo "Unknown step: $STEP"
exit 1