contrib/heptapod-ci.yml
changeset 49506 44bc045a43ca
parent 49391 5baf873ccb6e
parent 49502 dbdee8ac3e3f
child 49653 556efeea6dbf
child 49945 d00ac86fbd78
equal deleted inserted replaced
49503:a6efc1f1a73b 49506:44bc045a43ca
    88       - hg clone . /tmp/mercurial-ci/ --noupdate --config phases.publish=no
    88       - hg clone . /tmp/mercurial-ci/ --noupdate --config phases.publish=no
    89       - hg -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'`
    89       - hg -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'`
    90       - cd /tmp/mercurial-ci/
    90       - cd /tmp/mercurial-ci/
    91       - make local PYTHON=$PYTHON
    91       - make local PYTHON=$PYTHON
    92       - $PYTHON -m pip install --user -U libcst==0.3.20 pytype==2022.03.29
    92       - $PYTHON -m pip install --user -U libcst==0.3.20 pytype==2022.03.29
       
    93     script:
       
    94       - echo "Entering script section"
       
    95       - sh contrib/check-pytype.sh
    93     variables:
    96     variables:
    94         RUNTEST_ARGS: " --allow-slow-tests tests/test-check-pytype.t"
       
    95         HGTEST_SLOWTIMEOUT: "3600"
       
    96         PYTHON: python3
    97         PYTHON: python3
    97         TEST_HGMODULEPOLICY: "c"
       
    98 
    98 
    99 # `sh.exe --login` sets a couple of extra environment variables that are defined
    99 # `sh.exe --login` sets a couple of extra environment variables that are defined
   100 # in the MinGW shell, but switches CWD to /home/$username.  The previous value
   100 # in the MinGW shell, but switches CWD to /home/$username.  The previous value
   101 # is stored in OLDPWD.  Of the added variables, MSYSTEM is crucial to running
   101 # is stored in OLDPWD.  Of the added variables, MSYSTEM is crucial to running
   102 # run-tests.py- it is needed to make run-tests.py generate a `python3` script
   102 # run-tests.py- it is needed to make run-tests.py generate a `python3` script