diff options
-rw-r--r-- | .builds/debian_stable.yml | 7 | ||||
-rwxr-xr-x | check | 4 | ||||
-rwxr-xr-x | run_coverage | 4 | ||||
-rwxr-xr-x | run_qa | 3 |
4 files changed, 12 insertions, 6 deletions
diff --git a/.builds/debian_stable.yml b/.builds/debian_stable.yml index 928ace5..c1cd3d0 100644 --- a/.builds/debian_stable.yml +++ b/.builds/debian_stable.yml @@ -11,8 +11,11 @@ sources: - https://git.sr.ht/~valhalla/lesana tasks: - test: | - cd lesana - ./check + cd lesana + sh run_coverage + - qa: | + cd lesana + sh run_qa triggers: - action: email condition: failure @@ -1,4 +0,0 @@ -#!/bin/sh - -nosetests3 --with-coverage --cover-erase --cover-package=lesana -flake8 --select=E,F,W,C90,E123 . diff --git a/run_coverage b/run_coverage new file mode 100755 index 0000000..ac67ea1 --- /dev/null +++ b/run_coverage @@ -0,0 +1,4 @@ +#!/bin/sh + +nosetests3 --with-coverage --cover-erase --cover-package=lesana +#nose2-3 --with-coverage --coverage-report=term --log-level=ERROR -B --log-capture @@ -0,0 +1,3 @@ +#!/bin/sh + +flake8 --select=E,F,W,C90,E123 --ignore=W503 . |