forked from loafle/openapi-generator-original
* Remove redundant encoding definitions UTF-8 is already the default encoding in Python 3. * Remove Python3.4 related requirements * Remove dead Python version 3.5 * Add Python 3.9 to CI and test configs * Update petstore example
25 lines
434 B
YAML
25 lines
434 B
YAML
# ref: https://docs.gitlab.com/ee/ci/README.html
|
|
|
|
stages:
|
|
- test
|
|
|
|
.tests:
|
|
stage: test
|
|
script:
|
|
- pip install -r requirements.txt
|
|
- pip install -r test-requirements.txt
|
|
- pytest --cov=dynamic_servers
|
|
|
|
test-3.6:
|
|
extends: .tests
|
|
image: python:3.6-alpine
|
|
test-3.7:
|
|
extends: .tests
|
|
image: python:3.7-alpine
|
|
test-3.8:
|
|
extends: .tests
|
|
image: python:3.8-alpine
|
|
test-3.9:
|
|
extends: .tests
|
|
image: python:3.9-alpine
|