.gitlab-ci.yml 429 Bytes
Newer Older
Angus Lothian's avatar
Angus Lothian committed
1
2
image: python:3.6

3
stages:
Angus Lothian's avatar
Angus Lothian committed
4
5
6
7
8
9
10
11
 - test

before_script:
  - apt-get update --yes
  - apt-get install --yes build-essential cmake libfmt-dev pybind11-dev
  - pip3 install pytest pytest-cov
  - pip3 install .
  - pip3 show b_asic
12

Angus Lothian's avatar
Angus Lothian committed
13
14
run tests:
  stage: test
15
  script:
Oscar Gustafsson's avatar
Oscar Gustafsson committed
16
17
18
19
20
21
    - pytest --cov=b_asic --cov-report xml:cov.xml test
  artifacts:
      reports:
        coverage_report:
          coverage_format: cobertura
          path: cov.xml