heptapod-ci: move version prints closer to the start
This makes debugging a lot easier if anything is to go wrong, and shows output
earlier.
--- a/contrib/heptapod-ci.yml Tue Jul 23 12:10:31 2024 +0200
+++ b/contrib/heptapod-ci.yml Tue Jul 23 12:12:03 2024 +0200
@@ -39,15 +39,15 @@
# The runner made a clone as root.
# We make a new clone owned by user used to run the step.
before_script:
+ - echo "python used, $PYTHON"
+ - $PYTHON --version
+ - black --version
+ - clang-format --version
- hg clone . /tmp/mercurial-ci/ --noupdate --config phases.publish=no
- hg -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'`
- cd /tmp/mercurial-ci/
- ls -1 tests/test-check-*.* > /tmp/check-tests.txt
- - black --version
- - clang-format --version
script:
- - echo "python used, $PYTHON"
- - $PYTHON --version
- echo "$RUNTEST_ARGS"
- HGTESTS_ALLOW_NETIO="$TEST_HGTESTS_ALLOW_NETIO" HGMODULEPOLICY="$TEST_HGMODULEPOLICY" "$PYTHON" tests/run-tests.py --color=always $RUNTEST_ARGS
@@ -62,7 +62,6 @@
<<: *all
stage: tests
script:
- - echo "python used, $PYTHON"
- make rust-tests
- make cargo-clippy
variables: