Commit 552ed6ab authored by Fabien Amarger's avatar Fabien Amarger

fix(CI): Set py3-from-forge as 3 jobs and disable them

Since YAMS is broken we do not need to test these jobs

--HG--
branch : 3.28
parent a51c0339d68d
Pipeline #73463 passed with stage
in 58 seconds
......@@ -113,20 +113,81 @@ py3_misc:
script:
- tox -e py3-misc
py3-from-forge:
.py3-from-forge-server:
interruptible: true
rules:
- changes:
- cubicweb/**/*
- "*.py" # setup.py
- requirements/*
- requirements/from-forge.txt
- requirements/dev.txt
- requirements/test-server.txt
- if: '$TRIGGERED_FROM_OTHER_PROJECT'
stage: tests
image: registry.logilab.fr/logilab/infra/dockerfiles/debian-buster-slim-pg11
allow_failure: true
before_script:
- pip install tox
- sudo apt update
- sudo DEBIAN_FRONTEND=noninteractive APT_LISTCHANGES_FRONTEND=none apt-get install -y --assume-yes -qq -o=Dpkg::Use-Pty=0 slapd ldap-utils
artifacts:
paths:
- /builds/cubicweb/cubicweb/from-forge-server.html
- /builds/cubicweb/cubicweb/py3-from-forge-server-deprecated-warnings.json
reports:
junit: /builds/cubicweb/cubicweb/from-forge-server.xml
expire_in: 2 weeks
script:
- tox -e py3-from-forge-server
.py3-from-forge-web:
interruptible: true
rules:
- changes:
- cubicweb/**/*
- "*.py" # setup.py
- requirements/from-forge.txt
- requirements/dev.txt
- requirements/test-web.txt
- if: '$TRIGGERED_FROM_OTHER_PROJECT'
stage: tests
image: registry.logilab.fr/logilab/infra/dockerfiles/debian-buster-slim-pg11
allow_failure: true
before_script:
- sudo apt update && sudo apt install -y firefox-esr
script:
- tox -e py3-from-forge-web
artifacts:
paths:
- /builds/cubicweb/cubicweb/from-forge-web.html
- /builds/cubicweb/cubicweb/py3-from-forge-web-deprecated-warnings.json
reports:
junit: /builds/cubicweb/cubicweb/from-forge-web.xml
expire_in: 2 weeks
.py3-from-forge-misc:
interruptible: true
rules:
- changes:
- cubicweb/**/*
- "*.py" # setup.py
- requirements/from-forge.txt
- requirements/dev.txt
- requirements/test-misc.txt
- if: '$TRIGGERED_FROM_OTHER_PROJECT'
stage: tests
image: registry.logilab.fr/logilab/infra/dockerfiles/debian-buster-slim-pg11
allow_failure: true
before_script:
- sudo apt update && sudo apt install -y firefox-esr
script:
- tox -e py3-from-forge
- tox -e py3-from-forge-misc
artifacts:
paths:
- /builds/cubicweb/cubicweb/from-forge-misc.html
- /builds/cubicweb/cubicweb/py3-from-forge-misc-deprecated-warnings.json
reports:
junit: /builds/cubicweb/cubicweb/from-forge-misc.xml
expire_in: 2 weeks
trigger-readthedocs:
rules:
......
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