Skip to content
Snippets Groups Projects
.gitlab-ci.yml 553 B
Newer Older
# Copyright (c) 2019 Nico Alt
# SPDX-License-Identifier: AGPL-3.0-only
# License-Filename: LICENSE.md

Nico's avatar
Nico committed
image: debian:buster
Nico's avatar
Nico committed

Nico's avatar
Nico committed
before_script:
    - apt update && apt install --no-install-recommends -y python3-pip python3-setuptools
Nico's avatar
Nico committed
    - pip3 install -r requirements-dev.txt
Nico's avatar
Nico committed

Nico's avatar
Nico committed
stages:
  - test

pycodestyle:
    stage: test
    script: tools/tests/test-pycodestyle.sh

pylint:
    stage: test
    script: tools/tests/test-pylint.sh

pytest:
    stage: test
Nico's avatar
Nico committed
    coverage: '/TOTAL.*\s+(\d+%)$/'
Nico's avatar
Nico committed
    script: tools/tests/test-pytest.sh
    allow_failure: true