Mercurial > hg-stable
view contrib/heptapod-ci.yml @ 44169:5fd43c788943 stable
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
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 18 Nov 2019 09:38:40 +0100 |
parents | 2aa2408e7515 |
children | 8814308e83bb |
line wrap: on
line source
image: octobus/ci-mercurial-core # The runner made a clone as root. # We make a new clone owned by user used to run the step. before_script: - hg clone . /tmp/mercurial-ci/ --noupdate - hg -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'` - cd /tmp/mercurial-ci/ variables: PYTHON: python .runtests_template: &runtests script: - cd tests/ - echo "python used, $PYTHON" - $PYTHON run-tests.py --color=always --time test-check-*.* checks-py2: <<: *runtests checks-py3: <<: *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