forked from hetznercloud/hcloud-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
44 lines (37 loc) · 695 Bytes
/
Copy path.gitlab-ci.yml
File metadata and controls
44 lines (37 loc) · 695 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
stages:
- test
.tests_template: &tests_template
before_script:
- pip install tox
- apk add build-base
stage: test
script:
tox
tags:
- hc-bladerunner
python37:
<<: *tests_template
image: python:3.7-alpine
script: tox -e py37
python38:
<<: *tests_template
image: python:3.8-alpine
script: tox -e py38
python39:
<<: *tests_template
image: python:3.9-alpine
script: tox -e py39
python310:
<<: *tests_template
image: python:3.10-alpine
script: tox -e py310
python311:
<<: *tests_template
image: python:3.11-alpine
script: tox -e py311
test-style:
<<: *tests_template
image: python:3.9-alpine
script:
- tox -e flake8
- tox -e black