Add gitlab-ci integration

.gitlab-ci.yml:
Add Gitlab CI integration, that runs tox's linter and coverage targets
in a lint stage.
parent d9105841
---
#
# SPDX-License-Identifier: GPL-3.0-or-later
default:
image: "archlinux:latest"
stages:
- lint
.unit_test:
stage: lint
before_script:
- pacman --noconfirm -Syu --needed base-devel python-poetry python-tox
linter:
extends: .unit_test
script:
- tox -e linter
coverage:
extends: .unit_test
script:
- tox -e coverage
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment