This instance will be upgraded to Heptapod 0.21.0rc2 on 2021-04-16 at 11:00 UTC+2 (a few minutes of down time)

Commit bfc12c9a authored by Anton Shestakov's avatar Anton Shestakov

ci: cache pytype-related files between runs

parent 1f92a6aa40d6
Pipeline #2434 passed with stage
in 20 minutes and 9 seconds
......@@ -6,11 +6,20 @@ flake8:
pytype:
image: octobus/ci-py3-hgext3rd
script:
- ls -la .pytype || true
- find .pytype -type f | wc -l || true
- hg pull -R /ci/repos/mercurial/
- hg_rev=$(tests/testlib/map-hg-rev.sh "$(hg log -r . -T '{branch}')")
- hg -R /ci/repos/mercurial/ update "$hg_rev"
- find .pytype -type f -exec touch '{}' \; || true
- jobs=$(python -c 'import multiprocessing; print multiprocessing.cpu_count()')
- pytype -P /ci/repos/mercurial/:hgext3rd -k hgext3rd -x hgext3rd/evolve/thirdparty -j $jobs || true
- ls -la .pytype || true
- find .pytype -type f | wc -l || true
cache:
key: "$CI_COMMIT_REF_SLUG"
paths:
- .pytype/
when: manual
tests-py2-cext:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment