Commit 8efb0c42 authored by Abhilash Raj's avatar Abhilash Raj

Merge branch 'ci-upstream' into 'master'

Run tests against Mailman Core from git repo.

See merge request mailman/mailmanclient!94
parents 4fbb870e ae241bdb
Pipeline #50013829 passed with stage
in 4 minutes and 42 seconds
......@@ -7,18 +7,41 @@ variables:
python3.5:
script:
- tox -e py35
except:
variables:
- $CORE_COMMIT_SHA
python3.6:
script:
- tox -e py36
except:
variables:
- $CORE_COMMIT_SHA
python3.7:
script:
- tox -e py37
except:
variables:
- $CORE_COMMIT_SHA
lint:
script:
- tox -e lint
except:
variables:
- $CORE_COMMIT_SHA
docs:
script:
- tox -e docs
except:
variables:
- $CORE_COMMIT_SHA
upstream:
script:
- tox -e py37-dependency
only:
variables:
- $CORE_COMMIT_SHA
......@@ -58,6 +58,7 @@ setup(
'pytest-vcr',
'pytest-services',
'mailman',
'falcon==1.4.1',
],
'lint': [
'flake8>3.0'
......
......@@ -6,9 +6,15 @@ usedevelop = True
commands = pytest --vcr-record=all {posargs}
extras = testing
[testenv:dependency]
userdevelop = True
extras = testing
deps = git+https://gitlab.com/mailman/[email protected]{env:CORE_COMMIT_SHA}
[testenv:record]
basepython = python3
commands = pytest --vcr-record=once
commands = pytest --vcr-record=once {posargs}
[testenv:lint]
extras = lint
......
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