Unverified Commit b6257478 authored by David Runge's avatar David Runge
Browse files

Add integration tests to gitlab CI

.gitlab-ci.yml:
Rename "lint" stage to "test" stage.
Change basic target to also update the pacman files databases, as they
are required for integration tests.
Add integration target to run `tox -e integration`.
parent 105bbe25
......@@ -6,19 +6,25 @@ default:
image: "archlinux:latest"
stages:
- lint
- test
.unit_test:
stage: lint
.test:
stage: test
before_script:
- pacman --noconfirm -Fy
- pacman --noconfirm -Syu --needed base-devel python-poetry python-tox
linter:
extends: .unit_test
extends: .test
script:
- tox -e linter
coverage:
extends: .unit_test
extends: .test
script:
- tox -e coverage
integration:
extends: .test
script:
- tox -e integration
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