Skip to content

Commit 6c6a067

Browse files
committed
Fix CI job for running tests, and a bit of cleanup
1 parent a122416 commit 6c6a067

File tree

5 files changed

+13
-6
lines changed

5 files changed

+13
-6
lines changed
Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1-
.ci_job.yaml
2-
.ci_workflow.yaml
1+
.cache/
2+
ci_job.yaml
3+
ci_workflow.yaml
4+
dev_generate_hpke_config.py
5+
dev_run_docker.sh
6+
dev_runbook.md
37
.DS_Store
8+
example_config.json
49
*.pyc
510
.pytest_cache/
11+
.python-version
612
__pycache__/
713
venv/

jobs/ads-incrementality-dap-collector/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
*.pyc
33
__pycache__/
44
venv/
5+
.python-version

jobs/ads-incrementality-dap-collector/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ RUN groupadd --gid ${USER_ID} ${GROUP_ID} && \
2828
COPY --from=0 /janus_build/janus/target/release/collect ./
2929
###################
3030

31+
COPY . .
32+
3133
# Drop root and change ownership of the application folder to the user
3234
RUN chown -R ${USER_ID}:${GROUP_ID} ${HOME}
3335
USER ${USER_ID}
3436

3537
RUN pip install --upgrade pip
36-
COPY requirements.txt requirements.txt
3738
RUN pip install --no-cache-dir -r requirements.txt
38-
COPY . .
3939
RUN pip install --no-cache-dir .

jobs/ads-incrementality-dap-collector/ci_job.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ build-job-ads-incrementality-dap-collector:
1212
command: docker build -t app:build jobs/ads-incrementality-dap-collector/
1313
- run:
1414
name: Test Code
15-
command: docker run app:build pytest --flake8 --black
15+
command: docker run app:build python3 -m pytest

jobs/ads-incrementality-dap-collector/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cattrs==25.1.1
22
click==8.0.4
3-
pytest==6.0.2
3+
pytest==6.2.5
44
pytest-black==0.3.11
55
pytest-flake8==1.0.6
66
pytz==2025.2

0 commit comments

Comments
 (0)