Skip to content

Commit a96458d

Browse files
fixing Docker and tests
1 parent a47dba4 commit a96458d

File tree

6 files changed

+401
-15
lines changed

6 files changed

+401
-15
lines changed

.dockerignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Pixi-managed conda environment — rebuilt by `pixi install` inside Docker (20 GB)
2+
.pixi/
3+
4+
# Python cache
5+
__pycache__/
6+
*.pyc
7+
*.pyo
8+
*.pyd
9+
.pytest_cache/
10+
.hypothesis/
11+
12+
# Git internals (not needed in the image)
13+
.git/
14+
15+
# Editor / CI artefacts
16+
.vscode/
17+
*.env
18+
.env
19+
settings.json
20+
*.prof
21+
22+
# GitHub Actions (Dockerfile is specified with -f, not needed in context)
23+
.github/

.github/Dockerfile.base

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,9 @@ RUN curl -fsSL https://pixi.sh/install.sh | bash
2020

2121
WORKDIR ${HOME}/app
2222

23-
# Clone pipeline & utils
24-
RUN git clone --depth 1 https://github.com/neurospin/champollion_pipeline.git && \
25-
cd champollion_pipeline && \
26-
git submodule update --init --recursive
23+
# Copy pipeline from build context (reflects local changes; submodules in external/)
24+
COPY --chown=user:user . champollion_pipeline/
25+
# Clone champollion_utils (separate external repository)
2726
RUN git clone --depth 1 -b master https://github.com/neurospin/champollion_utils.git
2827

2928
# Pipeline environment (pixi + BrainVISA)

.gitignore

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,21 @@ settings.json
44
__pycache__*
55
.pytest_cache
66
*.prof
7-
.env
7+
.env
8+
# pixi environments
9+
.pixi/*
10+
!.pixi/config.toml
11+
12+
# Python compiled files
13+
*.pyc
14+
__pycache__/
15+
*.pyo
16+
*.pyd
17+
.Python
18+
19+
# MCP configuration
20+
.mcp.json
21+
22+
23+
# Fuzzy testing whit Hypothesis
24+
.hypothesis

pixi.lock

Lines changed: 44 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pixi.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ transformers = ">=4.36.0"
2525
datasets = ">=2.16.0"
2626
ruff = ">=0.9.0"
2727
pip-audit = ">=2.7.0"
28+
hypothesis = ">=6.0"
2829

2930
[tasks]
3031
# Initialize submodules

0 commit comments

Comments
 (0)