-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
32 lines (29 loc) · 809 Bytes
/
.gitlab-ci.yml
File metadata and controls
32 lines (29 loc) · 809 Bytes
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
include:
- project: 'shared/gitlab-ci-includes'
ref: main
file:
- '/base.yml'
- '/pypi-packages.yml'
- '/debian-packages.yml'
- '/python.yml'
variables:
APTLY_BASE_REPOSITORY: common
stages:
- test
- build
- publish
unit test and feature test:
stage: test
image: python:3.13
script:
- !reference [.add repositories, script]
- ln -s .env.ci .env
- addgroup --gid 1000 ci
- adduser --disabled-password --gecos "" --uid 1000 --gid 1000 ci
- pip install --no-cache-dir -r requirements/test.txt
- pip install .
- queue-support-migrate
- pytest -n 10 -vvv --cov-branch --cov=cyberfusion.QueueSupport --cov-config=.coveragerc --cov-fail-under=100 --junitxml=report-pytest.xml --ci
artifacts:
reports:
junit: report-*.xml