File: gitlab-ci.yml

package info (click to toggle)
debmutate 0.80
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 588 kB
  • sloc: python: 8,346; makefile: 12; sh: 1
file content (41 lines) | stat: -rw-r--r-- 655 bytes parent folder | download | duplicates (2)
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
---
include:
 - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
 - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml

stages:
  - provisioning
  - build
  - test
  - publish
  - lint

ruff:
  stage: lint
  image: python:latest
  script:
    - pip install ruff
    - ruff check .
  cache:
    paths:
      - ~/.cache/pip

mypy:
  stage: lint
  image: python:latest
  script:
    - pip install mypy
    - mypy .
  cache:
    paths:
      - ~/.cache/pip

ruff-format:
  stage: lint
  image: python:latest
  script:
    - pip install ruff
    - ruff format --check .
  cache:
    paths:
      - ~/.cache/pip