Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
*.pyc
*.pyd
*.pyo
.appends
.dockerignore
.git
.gitattributes
.github
.gitignore
.gitattributes
.dockerignore
Dockerfile
__pycache__
bin/run-in-docker.sh
bin/run-tests-in-docker.sh
test/
venv/
14 changes: 9 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
FROM python:3.13.5-alpine3.22
FROM python:3.13-alpine3.23

COPY requirements.txt /requirements.txt

RUN pip install -r /requirements.txt

RUN apk update && apk upgrade\
&& apk --no-cache add curl bash\
&& apk --no-cache add bash\
&& apk cache clean


RUN --mount=type=cache,target=/root/.cache/pip\
PYTHONDONTWRITEBYTECODE=1\
pip install --no-compile --no-cache\
-r /requirements.txt

COPY . /opt/test-runner

WORKDIR /opt/test-runner

ENTRYPOINT ["sh", "/opt/test-runner/bin/run.sh" ]
ENTRYPOINT ["sh", "/opt/test-runner/bin/run.sh" ]
Comment thread
BethanyG marked this conversation as resolved.
2 changes: 1 addition & 1 deletion test/example-syntax-error/results.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version":3,
"status":"error",
"message":" /usr/local/lib/python3.13/site-packages/_pytest/python.py:498: in importtestmodule\n mod = import_path(\n/usr/local/lib/python3.13/site-packages/_pytest/pathlib.py:587: in import_path\n importlib.import_module(module_name)\n/usr/local/lib/python3.13/importlib/__init__.py:88: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n<frozen importlib._bootstrap>:1387: in _gcd_import\n ???\n<frozen importlib._bootstrap>:1360: in _find_and_load\n ???\n<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked\n ???\n<frozen importlib._bootstrap>:935: in _load_unlocked\n ???\n/usr/local/lib/python3.13/site-packages/_pytest/assertion/rewrite.py:186: in exec_module\n exec(co, module.__dict__)\ntest/example-syntax-error/example_syntax_error_test.py:4: in <module>\n from example_syntax_error import hello\nE File \"./test/example-syntax-error/example_syntax_error.py\", line 3\nE def hello();\nE ^\nE SyntaxError: expected ':'",
"message":" /usr/local/lib/python3.13/site-packages/_pytest/python.py:498: in importtestmodule\n mod = import_path(\n/usr/local/lib/python3.13/site-packages/_pytest/pathlib.py:587: in import_path\n importlib.import_module(module_name)\n/usr/local/lib/python3.13/importlib/__init__.py:88: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n<frozen importlib._bootstrap>:1395: in _gcd_import\n ???\n<frozen importlib._bootstrap>:1360: in _find_and_load\n ???\n<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked\n ???\n<frozen importlib._bootstrap>:935: in _load_unlocked\n ???\n/usr/local/lib/python3.13/site-packages/_pytest/assertion/rewrite.py:186: in exec_module\n exec(co, module.__dict__)\ntest/example-syntax-error/example_syntax_error_test.py:4: in <module>\n from example_syntax_error import hello\nE File \"./test/example-syntax-error/example_syntax_error.py\", line 3\nE def hello();\nE ^\nE SyntaxError: expected ':'",
Comment thread
BethanyG marked this conversation as resolved.
"tests":[

]
Expand Down
Loading