aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.d/static_checks.yml
blob: 289ad1359e3a83d5222a6fcc299591923e413c54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
check-patch:
  extends: .base_job_template
  stage: build
  image: python:3.10-alpine
  needs: []
  script:
    - .gitlab-ci.d/check-patch.py
  variables:
    GIT_DEPTH: 1000
    QEMU_JOB_ONLY_FORKS: 1
  before_script:
    - apk -U add git perl
  allow_failure: true

check-dco:
  extends: .base_job_template
  stage: build
  image: python:3.10-alpine
  needs: []
  script: .gitlab-ci.d/check-dco.py
  variables:
    GIT_DEPTH: 1000
  before_script:
    - apk -U add git

check-python-pipenv:
  extends: .base_job_template
  stage: test
  image: $CI_REGISTRY_IMAGE/qemu/python:latest
  script:
    - make -C python check-pipenv
  variables:
    GIT_DEPTH: 1
  needs:
    job: python-container

check-python-tox:
  extends: .base_job_template
  stage: test
  image: $CI_REGISTRY_IMAGE/qemu/python:latest
  script:
    - make -C python check-tox
  variables:
    GIT_DEPTH: 1
    QEMU_TOX_EXTRA_ARGS: --skip-missing-interpreters=false
    QEMU_JOB_OPTIONAL: 1
  needs:
    job: python-container