summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2021-02-09 15:50:39 +0100
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2021-02-09 15:50:39 +0100
commit622e7cadd26f7f70294569a24226479ead4bd12b (patch)
tree2209069d6ec39aea6828f9959e7644d375ca7160
parent061bed74d17b5063787632fd3fcc7113c86a75d8 (diff)
split tests and QA
-rw-r--r--.builds/debian_stable.yml7
-rwxr-xr-xcheck4
-rwxr-xr-xrun_coverage4
-rwxr-xr-xrun_qa3
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
diff --git a/check b/check
deleted file mode 100755
index 9e5c819..0000000
--- a/check
+++ /dev/null
@@ -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
diff --git a/run_qa b/run_qa
new file mode 100755
index 0000000..f9f643f
--- /dev/null
+++ b/run_qa
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+flake8 --select=E,F,W,C90,E123 --ignore=W503 .