Skip to content
Snippets Groups Projects
Commit 653a45dd authored by Georges Racinet's avatar Georges Racinet
Browse files

heptapod-ci: running on unreleased py-heptapod

It's becoming pretty clear that we'll have a fair amount of
code to share between HGitaly and py-heptapod, for instance
anything that involves GitLab branch conventions.

In that context, developping HGitaly against released versions
of py-heptapod would strongly undermine our velocity, at least
for a while.

The py-heptapod repo is small enough that a full clone from
foss.h.n is not a problem (and Heptapod Workhorse is on our side
these days). We could later on preclone in the base Docker image,
though.
parent 1da2c879
No related branches found
No related tags found
No related merge requests found
Pipeline #7007 passed with warnings
......@@ -15,8 +15,13 @@
variables:
EVOLVE_REPO_URL: https://mirror.octobus.net/evolve
EVOLVE_LOCAL_REPO: /ci/repos/evolve
PY_HEPTAPOD_LOCAL_REPO: /ci/repos/py-heptapod
before_script:
- hg clone https://foss.heptapod.net/heptapod/py-heptapod $PY_HEPTAPOD_LOCAL_REPO
- pip3 install --user --upgrade -e $PY_HEPTAPOD_LOCAL_REPO
tests-current:
stage: main
image: octobus/ci-hgitaly
script:
......@@ -18,8 +23,9 @@
tests-current:
stage: main
image: octobus/ci-hgitaly
script:
- pip3 freeze
- flake8 --exclude stub hgitaly hgext3rd
- PYTHONPATH=/ci/repos/mercurial pytest --cov hgitaly --cov-config=.coveragerc -v
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment