heptapod-ci: also run the dedicated rust test for the rust code stable
authorPierre-Yves David <pierre-yves.david@octobus.net>
Mon, 18 Nov 2019 09:38:40 +0100
branchstable
changeset 44252 5fd43c788943
parent 44251 2aa2408e7515
child 44253 8814308e83bb
heptapod-ci: also run the dedicated rust test for the rust code The Rust code has various standard rust test that are fast to run. So let's run them. Differential Revision: https://phab.mercurial-scm.org/D8014
contrib/heptapod-ci.yml
--- a/contrib/heptapod-ci.yml	Sat Nov 16 12:25:53 2019 +0100
+++ b/contrib/heptapod-ci.yml	Mon Nov 18 09:38:40 2019 +0100
@@ -23,3 +23,13 @@
     <<: *runtests
     variables:
         PYTHON: python3
+
+rust-cargo-test-py2: &rust_cargo_test
+    script:
+        - echo "python used, $PYTHON"
+        - make rust-tests
+
+rust-cargo-test-py3:
+    <<: *rust_cargo_test
+    variables:
+        PYTHON: python3