Skip to content

Commit 734342d

Browse files
author
Dmitry Bogatov
committed
docheck: test postgresql-12 with python3
1 parent d880a59 commit 734342d

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

docheck

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ case "${cmd}" in
4040
(py2-11) py2_check py2-11 ;;
4141
(py3-11) py3_check py3-11 ;;
4242
(py2-12) py2_check py2-12 ;;
43+
(py3-12) py3_check py3-12 ;;
4344
(test-in-docker)
4445
# Actually, we only need only distinguish python-2.7 and python-3.3
4546
# tests.

docker/py3-12/Dockerfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM postgres:12
2+
RUN apt-get update && apt-get install -y \
3+
build-essential \
4+
clang \
5+
libpython3.7-dev \
6+
python3.7-dev \
7+
postgresql-client-12 \
8+
postgresql-server-dev-12 \
9+
python3-setuptools
10+
11+
ENV PGUSER postgres
12+
ENV PYTHON_OVERRIDE python3.7
13+
ENV LC_ALL C.UTF-8

test-3.7

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
test-3.3/

0 commit comments

Comments
 (0)