image: python:3.10
pages:
  stage: deploy
  script:
    - python3 --version
    - pip install -U sphinx
    - sphinx-build -b html doc/rst/ public
  artifacts:
    paths:
    - public
  only:
  - main
pytest:
  stage: test
  script:
    - cd tests
    - pytest --junitxml=report.xml
  artifacts:
    when: always
    reports:
      junit: report.xml
