-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1.9.0 Future annotation update support and dockerize version testing.
- Loading branch information
1 parent
e017429
commit 49ad406
Showing
9 changed files
with
42 additions
and
319 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# syntax = docker/dockerfile:1 | ||
# FROM python:3.9-bookworm | ||
# FROM python:3.10-bookworm | ||
# FROM python:3.11-bookworm | ||
# FROM python:3.12-bookworm | ||
# FROM python:3.13-bookworm | ||
FROM python:3.14-rc-bookworm | ||
|
||
# Set python to unbuffered mode | ||
ENV PYTHONUNBUFFERED=1 | ||
|
||
# Set the working directory to /app | ||
WORKDIR /app/ | ||
|
||
# Copy and install the requirements | ||
# This includes egg installing the type_enforced package | ||
COPY type_enforced/__init__.py /app/type_enforced/__init__.py | ||
COPY pyproject.toml /app/pyproject.toml | ||
COPY requirements.txt /app/requirements.txt | ||
RUN pip install -r /app/requirements.txt | ||
|
||
COPY ./run_tests.sh /app/run_tests.sh | ||
ENTRYPOINT ["/app/run_tests.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
python --version | ||
for f in /app/test/*.py; | ||
do python "$f"; | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
for f in test/*.py; do python "$f"; done | ||
docker build . --tag "type_enforced" --quiet | ||
docker run --rm \ | ||
--volume "$(pwd):/app" \ | ||
"type_enforced" | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters