File: build.sh

package info (click to toggle)
simplebayes 3.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 496 kB
  • sloc: python: 3,322; makefile: 165; sh: 24
file content (19 lines) | stat: -rwxr-xr-x 341 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
set -e

echo
echo " [simplebayes] Step 1: Executing Unit Tests"
echo
pytest tests/ --cov=simplebayes --cov-fail-under=100 -v
rm -f .coverage*

echo
echo " [simplebayes] Step 2: Executing flake8"
echo
flake8 simplebayes tests

echo
echo " [simplebayes] Step 3: Executing pylint"
echo
pylint simplebayes tests --fail-under=10
echo