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

heptapod-ci: main/compat stages instead of lint/tests

As done previously for py-heptapod, the latency of a
separate lint stage is not justified. However lint+tests on
a precompiled Mercurial version is much faster, and that
justifies to push the 'stable' and 'default' Mercurial versions to
a `compat` stage.
parent 49f3e466
No related branches found
No related tags found
No related merge requests found
Pipeline #6947 passed
stages:
- lint
- test
- main
- compat
variables:
EVOLVE_REPO_URL: https://mirror.octobus.net/evolve
EVOLVE_LOCAL_REPO: /ci/repos/evolve
......@@ -4,13 +4,6 @@
variables:
EVOLVE_REPO_URL: https://mirror.octobus.net/evolve
EVOLVE_LOCAL_REPO: /ci/repos/evolve
lint:
stage: lint
image: octobus/ci-base
before_script: []
script:
- flake8 --exclude stub hgitaly
tests-current:
......@@ -16,4 +9,4 @@
tests-current:
stage: test
stage: main
image: octobus/ci-py-heptapod:py3
script:
......@@ -18,5 +11,6 @@
image: octobus/ci-py-heptapod:py3
script:
- flake8 --exclude stub hgitaly
- PYTHONPATH=/ci/repos/mercurial /usr/bin/pytest-3 --cov hgitaly --cov-config=.coveragerc -v
tests-hg-stable:
......@@ -20,7 +14,7 @@
- PYTHONPATH=/ci/repos/mercurial /usr/bin/pytest-3 --cov hgitaly --cov-config=.coveragerc -v
tests-hg-stable:
stage: test
stage: compat
image: octobus/ci-py3-hgext3rd:latest
script:
- hg pull -R /ci/repos/mercurial/ --rev stable
......@@ -36,7 +30,7 @@
pytest --cov hgitaly --cov-config=.coveragerc -v
tests-hg-default:
stage: test
stage: compat
image: octobus/ci-py3-hgext3rd:latest
script:
- hg pull -R /ci/repos/mercurial/ --rev default
......
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