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

.gitlab-ci.yml

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    .gitlab-ci.yml 828 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/*