forked from commitizen-tools/commitizen
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
46 lines (43 loc) · 800 Bytes
/
Copy path.gitlab-ci.yml
File metadata and controls
46 lines (43 loc) · 800 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
stages:
- prepare
- test
codestyle:
stage: prepare
image: python:3.12
variables:
POETRY_VIRTUALENVS_CREATE: false
before_script:
# Install dependencies
- pip install poetry
- poetry install
script:
# Format sources
- poe format
test:3.12:
stage: test
image: python:3.12
variables:
POETRY_VIRTUALENVS_CREATE: false
before_script:
# Install dependencies
- pip install poetry
- poetry install
script:
# Format sources
- poe format
# Run tests
- poe test
test:cover:
stage: test
image: python:3.12
variables:
POETRY_VIRTUALENVS_CREATE: false
before_script:
# Install dependencies
- pip install poetry
- poetry install
script:
# Format sources
- poe format
# Run tests
- poe test