generated from ken-morel/pip-package-template-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
51 lines (45 loc) · 960 Bytes
/
docker-compose.yml
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
47
48
49
50
51
version: '3.8'
services:
dev:
build:
context: .
dockerfile: dockerfiles/dev.dockerfile
volumes:
- ./src:/src
- ./README.rst:/src/README.rst
- ./LICENSE:/src/LICENSE
test38:
build:
context: .
dockerfile: dockerfiles/dev.dockerfile
args:
PYTHON_VERSION: '3.8'
command: pytest
test39:
build:
context: .
dockerfile: dockerfiles/dev.dockerfile
args:
PYTHON_VERSION: '3.9'
command: pytest
test310:
build:
context: .
dockerfile: dockerfiles/dev.dockerfile
args:
PYTHON_VERSION: '3.10'
command: pytest
test311:
build:
context: .
dockerfile: dockerfiles/dev.dockerfile
args:
PYTHON_VERSION: '3.11'
command: pytest
test312:
build:
context: .
dockerfile: dockerfiles/dev.dockerfile
args:
PYTHON_VERSION: '3.12'
command: pytest