File: .gitlab-ci.yml

package info (click to toggle)
python-procset 1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 532 kB
  • sloc: python: 2,607; makefile: 22
file content (25 lines) | stat: -rw-r--r-- 521 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
before_script:
  - python --version
  - pip install --upgrade --upgrade-strategy=eager pip setuptools wheel
  - pip install -e .[test]

.pytest:
  stage: test
  script:
    - pytest --cov-report=term-missing --junitxml=pytest.xml
  coverage: '/^TOTAL.+ ([1-9]?[0-9]%|100%)$/'
  artifacts:
    reports:
      junit: pytest.xml

pytest:3.7:
  extends: .pytest
  image: python:3.7-slim-stretch

pytest:3.6:
  extends: .pytest
  image: python:3.6-slim-stretch

pytest:3.5:
  extends: .pytest
  image: python:3.5-slim-stretch