stages: - test - deploy before_script: - apt-get update --yes - apt-get install --yes build-essential cmake libfmt-dev pybind11-dev graphviz python3-pyqt5 xvfb - python -m pip install --upgrade pip - python --version - pip install pytest pytest-cov sphinx furo numpydoc pytest-xvfb pytest-qt setuptools_scm sphinx-qt-documentation - pip install . - pip show b_asic .run-test: stage: test script: - pytest --cov=b_asic --cov-report xml:cov.xml --cov-report term test - sphinx-build -b html docs_sphinx public artifacts: reports: coverage_report: coverage_format: cobertura path: cov.xml run-test-3.7: image: python:3.7 extends: ".run-test" run-test-3.8: image: python:3.8 extends: ".run-test" run-test-3.9: image: python:3.9 extends: ".run-test" run-test-3.10: image: python:3.10 extends: ".run-test" pages: stage: deploy image: python:3.10 script: - sphinx-build -b html docs_sphinx public artifacts: paths: - public only: - master