.gitlab-ci.yml 951 Bytes
Newer Older
Guilhem Saurel's avatar
Guilhem Saurel committed
1
2
3
4
5
6
7
8
9
10
11
12
# temporary manual configuration, until everything is packaged.
# We need pinocchio and example-robot-data, as do crocoddyl, so we can use its image
# We care only about python 3, so we test only on 20.04


.pinocchio-tutorials: &pinocchio-tutorials
  retry:
    max: 2
    when: runner_system_failure
  except:
    - gh-pages
  script:
Guilhem Saurel's avatar
Guilhem Saurel committed
13
14
    - pwd
    - ls
Guilhem Saurel's avatar
Guilhem Saurel committed
15
16
17
18
    - python -m unittest

pinocchio-tutorials-20.04:
  <<: *pinocchio-tutorials
19
  image: memmos.laas.fr:5000/stack-of-tasks/pinocchio-tutorials/py-pinocchio-tutorials:20.04
Guilhem Saurel's avatar
Guilhem Saurel committed
20
21
22
23
24
25
26
27
28
29

format:
  image: gepetto/linters
  retry:
    max: 2
    when: runner_system_failure
  before_script:
    - test -f /builds/setup.cfg || ln -s /root/setup.cfg /builds
    - test -f /builds/.clang-format || ln -s /root/.clang-format /builds
  script:
Guilhem Saurel's avatar
Guilhem Saurel committed
30
31
32
33
34
    - flake8 utils examples tp2
    - nbqa flake8 2_geometry_3d.ipynb
    - yapf -dr utils examples tp2
    - nbqa yapf -ri 2_geometry_3d.ipynb
    - git diff --exit-code