Skip to content
Snippets Groups Projects
Select Git revision
  • 51d2ec98729a6f6d754687ceeaa9f469c1442611
  • main default protected
2 results

.gitlab-ci.yml

Blame
  • Tue Herlau's avatar
    tuhe authored
    51d2ec98
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    .gitlab-ci.yml 830 B
    image: ubuntu:latest
    
    stages:
      - test
    
    test_snipper:
      stage: test
      script:
        - echo "Testing student files"
    #    - pwd
        - apt-get update -y
        - apt install -y python3-pip
        - apt install -y python3.10 python-is-python3
    #    - apt install -y python-is-python3
    #    - python --version
    #    - locate python
        - apt install -y git
        - apt install -y xvfb # Virtual framebuffer for GL stuff.
    #    - apt install -y inkscape pdftk
    #    - apt install -y latexmk  poppler-utils # latexmk and pdftocairo
    #    - DEBIAN_FRONTEND='noninteractive' apt install -y texlive-latex-recommended texlive-latex-extra texlive-science pdf2svg
    #    - pip install -U Pillow
        - pip install -e ./
        - cd tests
        - xvfb-run -s "-screen 0 1400x900x24" python -m unittest test_python.py
    #    - latexmk --version
    #    - ls tests_images/*