diff options
author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2021-02-09 15:50:39 +0100 |
---|---|---|
committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2021-02-09 15:50:39 +0100 |
commit | 622e7cadd26f7f70294569a24226479ead4bd12b (patch) | |
tree | 2209069d6ec39aea6828f9959e7644d375ca7160 | |
parent | 061bed74d17b5063787632fd3fcc7113c86a75d8 (diff) |
split tests and QA
-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 . |