comparison contrib/heptapod-ci.yml @ 51712:e153995011b7

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.
author Raphaël Gomès <rgomes@octobus.net>
date Tue, 23 Jul 2024 12:12:03 +0200
parents 7f0cb9ee0534
children 74f1bf147a6d
comparison
equal deleted inserted replaced
51711:832a1aeb576f 51712:e153995011b7
37 <<: *all 37 <<: *all
38 stage: tests 38 stage: tests
39 # The runner made a clone as root. 39 # The runner made a clone as root.
40 # We make a new clone owned by user used to run the step. 40 # We make a new clone owned by user used to run the step.
41 before_script: 41 before_script:
42 - echo "python used, $PYTHON"
43 - $PYTHON --version
44 - black --version
45 - clang-format --version
42 - hg clone . /tmp/mercurial-ci/ --noupdate --config phases.publish=no 46 - hg clone . /tmp/mercurial-ci/ --noupdate --config phases.publish=no
43 - hg -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'` 47 - hg -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'`
44 - cd /tmp/mercurial-ci/ 48 - cd /tmp/mercurial-ci/
45 - ls -1 tests/test-check-*.* > /tmp/check-tests.txt 49 - ls -1 tests/test-check-*.* > /tmp/check-tests.txt
46 - black --version
47 - clang-format --version
48 script: 50 script:
49 - echo "python used, $PYTHON"
50 - $PYTHON --version
51 - echo "$RUNTEST_ARGS" 51 - echo "$RUNTEST_ARGS"
52 - HGTESTS_ALLOW_NETIO="$TEST_HGTESTS_ALLOW_NETIO" HGMODULEPOLICY="$TEST_HGMODULEPOLICY" "$PYTHON" tests/run-tests.py --color=always $RUNTEST_ARGS 52 - HGTESTS_ALLOW_NETIO="$TEST_HGTESTS_ALLOW_NETIO" HGMODULEPOLICY="$TEST_HGMODULEPOLICY" "$PYTHON" tests/run-tests.py --color=always $RUNTEST_ARGS
53 53
54 checks: 54 checks:
55 <<: *runtests 55 <<: *runtests
60 60
61 rust-cargo-test: 61 rust-cargo-test:
62 <<: *all 62 <<: *all
63 stage: tests 63 stage: tests
64 script: 64 script:
65 - echo "python used, $PYTHON"
66 - make rust-tests 65 - make rust-tests
67 - make cargo-clippy 66 - make cargo-clippy
68 variables: 67 variables:
69 PYTHON: python3 68 PYTHON: python3
70 CI_CLEVER_CLOUD_FLAVOR: S 69 CI_CLEVER_CLOUD_FLAVOR: S