[Request] [+ ] D11254: windows-ci: clean up the Heptapod CI file now that the baseline is solid
Alphare (Raphaël Gomès)
phabricator at mercurial-scm.org
Thu Aug 5 15:17:52 UTC 2021
Alphare created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
Enough work has been done one the CI side, this now works with little effort
on our side. The next patch will remove the manual switch.
REPOSITORY
rHG Mercurial
BRANCH
stable
REVISION DETAIL
https://phab.mercurial-scm.org/D11254
AFFECTED FILES
contrib/heptapod-ci.yml
CHANGE DETAILS
diff --git a/contrib/heptapod-ci.yml b/contrib/heptapod-ci.yml
--- a/contrib/heptapod-ci.yml
+++ b/contrib/heptapod-ci.yml
@@ -147,9 +147,7 @@
.window_runtests_template: &windows_runtests
stage: tests
before_script:
- # Temporary until this is adjusted in the environment
- - $Env:TEMP="C:/Temp"
- - $Env:TMP="C:/Temp"
+ - C:/MinGW/msys/1.0/bin/sh.exe --login -c 'cd "$OLDPWD" && ls -1 tests/test-check-*.* > C:/Temp/check-tests.txt'
# TODO: find/install cvs, bzr, perforce, gpg, sqlite3
script:
@@ -158,6 +156,8 @@
- Invoke-Expression "$Env:PYTHON -V"
- Invoke-Expression "$Env:PYTHON -m black --version"
- echo "$Env:RUNTEST_ARGS"
+ - echo "$Env:TMP"
+ - echo "$Env:TEMP"
- C:/MinGW/msys/1.0/bin/sh.exe --login -c 'cd "$OLDPWD" && HGTESTS_ALLOW_NETIO="$TEST_HGTESTS_ALLOW_NETIO" HGMODULEPOLICY="$TEST_HGMODULEPOLICY" $PYTHON tests/run-tests.py --color=always $RUNTEST_ARGS'
@@ -166,8 +166,7 @@
when: manual
tags:
- windows
- timeout: 2h
variables:
TEST_HGMODULEPOLICY: "c"
- RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt"
+ RUNTEST_ARGS: "--blacklist C:/Temp/check-tests.txt"
PYTHON: py -3
To: Alphare, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercurial-scm.org/pipermail/mercurial-patches/attachments/20210805/11a2434b/attachment-0001.html>
More information about the Mercurial-patches
mailing list