about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-10-02 16:55:06 +0300
committerBonfaceKilz2024-10-02 17:44:15 +0300
commit977027094a493260932de1209ecf9c273d95c76f (patch)
tree7fc01d137154edf19d102d6c36c29d7f7baed041
parent94b3003768ff0854a0a52ef55fd90be286c09d62 (diff)
downloadgenenetwork3-main.tar.gz
Add rdf-tests after the check phase. HEAD main
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rw-r--r--.guix/genenetwork3-package.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/.guix/genenetwork3-package.scm b/.guix/genenetwork3-package.scm
index ab0f5b8..9030c45 100644
--- a/.guix/genenetwork3-package.scm
+++ b/.guix/genenetwork3-package.scm
@@ -34,7 +34,11 @@
 	        (substitute* "tests/fixtures/rdf.py"
 	         (("virtuoso-t")
 	          (string-append #$virtuoso-ose "/bin/virtuoso-t"))))))
-      	   (add-after 'build 'rdf-tests
+	   ;; The logical flow for running tests is to perform static
+	   ;; checks(pylint and mypy) before running the unit-tests in
+	   ;; order to catch issues earlier.  Network tests such as RDF
+	   ;; should run after the unit tests to maintain that order.
+      	   (add-after 'check 'rdf-tests
 	   	   (lambda _
 	   	     (invoke "pytest" "-k" "rdf")))
      	   (add-before 'build 'pylint