forked from JHUISI/charm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.test.yml
More file actions
94 lines (88 loc) · 2.13 KB
/
docker-compose.test.yml
File metadata and controls
94 lines (88 loc) · 2.13 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# Docker Compose configuration for testing Charm-Crypto with multiple Python versions
#
# Usage:
# # Build all images
# docker-compose -f docker-compose.test.yml build
#
# # Run tests on Python 3.13
# docker-compose -f docker-compose.test.yml run --rm py313 ./docker/test.sh
#
# # Interactive shell on Python 3.13
# docker-compose -f docker-compose.test.yml run --rm py313
#
# # Debug specific test
# docker-compose -f docker-compose.test.yml run --rm py313 ./docker/debug-test.sh test_name
version: '3.8'
services:
# Python 3.12 testing environment
py312:
build:
context: .
dockerfile: Dockerfile.test
args:
PYTHON_VERSION: "3.12"
image: charm-test:3.12
volumes:
- .:/workspace
working_dir: /workspace
environment:
- LD_LIBRARY_PATH=/usr/local/lib
- PYTHONPATH=/workspace
- PYTHON_VERSION=3.12
stdin_open: true
tty: true
# Python 3.13 testing environment
py313:
build:
context: .
dockerfile: Dockerfile.test
args:
PYTHON_VERSION: "3.13"
image: charm-test:3.13
volumes:
- .:/workspace
working_dir: /workspace
environment:
- LD_LIBRARY_PATH=/usr/local/lib
- PYTHONPATH=/workspace
- PYTHON_VERSION=3.13
stdin_open: true
tty: true
# Python 3.14 testing environment (if available)
py314:
build:
context: .
dockerfile: Dockerfile.test
args:
PYTHON_VERSION: "3.14"
image: charm-test:3.14
volumes:
- .:/workspace
working_dir: /workspace
environment:
- LD_LIBRARY_PATH=/usr/local/lib
- PYTHONPATH=/workspace
- PYTHON_VERSION=3.14
stdin_open: true
tty: true
profiles:
- experimental
# Python 3.11 baseline (for comparison)
py311:
build:
context: .
dockerfile: Dockerfile.test
args:
PYTHON_VERSION: "3.11"
image: charm-test:3.11
volumes:
- .:/workspace
working_dir: /workspace
environment:
- LD_LIBRARY_PATH=/usr/local/lib
- PYTHONPATH=/workspace
- PYTHON_VERSION=3.11
stdin_open: true
tty: true
profiles:
- baseline