From 622e7cadd26f7f70294569a24226479ead4bd12b Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Tue, 9 Feb 2021 15:50:39 +0100 Subject: split tests and QA --- .builds/debian_stable.yml | 7 +++++-- check | 4 ---- run_coverage | 4 ++++ run_qa | 3 +++ 4 files changed, 12 insertions(+), 6 deletions(-) delete mode 100755 check create mode 100755 run_coverage create mode 100755 run_qa 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 . -- cgit v1.2.3