# HG changeset patch # User Joerg Sonnenberger # Date 2021-02-25 19:57:11 # Node ID b41f551c5dc7561e429d57962ad4085ae1438b9e # Parent 6f4a481f182af5005ded9f3eb232dd7c16fa1af3 ci: hook network-io tests into the pipeline This runs the "pip install" tests once for Python 2 and 3 each. Differential Revision: https://phab.mercurial-scm.org/D10075 diff --git a/contrib/heptapod-ci.yml b/contrib/heptapod-ci.yml --- a/contrib/heptapod-ci.yml +++ b/contrib/heptapod-ci.yml @@ -8,6 +8,7 @@ variables: PYTHON: python TEST_HGMODULEPOLICY: "allow" HG_CI_IMAGE_TAG: "latest" + TEST_HGTESTS_ALLOW_NETIO: "0" .runtests_template: &runtests stage: tests @@ -23,7 +24,7 @@ variables: script: - echo "python used, $PYTHON" - echo "$RUNTEST_ARGS" - - HGMODULEPOLICY="$TEST_HGMODULEPOLICY" "$PYTHON" tests/run-tests.py --color=always $RUNTEST_ARGS + - HGTESTS_ALLOW_NETIO="$TEST_HGTESTS_ALLOW_NETIO" HGMODULEPOLICY="$TEST_HGMODULEPOLICY" "$PYTHON" tests/run-tests.py --color=always $RUNTEST_ARGS .rust_template: &rust @@ -69,6 +70,7 @@ test-py2: variables: RUNTEST_ARGS: " --no-rust --blacklist /tmp/check-tests.txt" TEST_HGMODULEPOLICY: "c" + TEST_HGTESTS_ALLOW_NETIO: "1" test-py3: <<: *runtests @@ -76,6 +78,7 @@ test-py3: RUNTEST_ARGS: " --no-rust --blacklist /tmp/check-tests.txt" PYTHON: python3 TEST_HGMODULEPOLICY: "c" + TEST_HGTESTS_ALLOW_NETIO: "1" test-py2-pure: <<: *runtests