-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Full Python matrix tests (#478)
Full matrix of feature tests for py-spy & PyPerf across all desired versions. This is what I suggested in #287 and finally got around to implement. I rather have these in place before performing any other changes on PyPerf/py-spy.
- Loading branch information
Showing
5 changed files
with
130 additions
and
9 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
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 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,6 @@ | ||
ARG PYTHON_IMAGE_TAG | ||
FROM python:${PYTHON_IMAGE_TAG} | ||
|
||
WORKDIR /app | ||
ADD lister.py /app | ||
CMD ["python", "lister.py"] |
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,12 @@ | ||
ARG PYTHON_IMAGE_TAG | ||
FROM python:${PYTHON_IMAGE_TAG} | ||
|
||
WORKDIR /app | ||
|
||
# to build uwsgi | ||
RUN if grep -q Alpine /etc/os-release; then apk add gcc libc-dev linux-headers; fi | ||
|
||
RUN pip install uwsgi | ||
|
||
ADD lister.py /app | ||
CMD ["uwsgi", "--py", "lister.py"] |
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