File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,12 @@ RUN if [ "${PYTHON_VERSION}" = "3" ] ; then \
10
10
ENV LANG=C.UTF-8
11
11
12
12
RUN mkdir -p /pg
13
- VOLUME /pg
14
13
COPY run_tests.sh /run.sh
15
14
RUN chmod 755 /run.sh
16
15
17
16
ADD . /pg/testgres
18
17
WORKDIR /pg/testgres
19
- RUN chown postgres:postgres /pg/testgres
18
+ RUN chown -R postgres:postgres /pg
20
19
21
20
USER postgres
22
21
ENTRYPOINT PYTHON=${PYTHON} /run.sh
Original file line number Diff line number Diff line change 13
13
fi
14
14
15
15
# prepare environment
16
- echo using $virtualenv
16
+ cd ..
17
17
$virtualenv env
18
+ export VIRTUAL_ENV_DISABLE_PROMPT=1
18
19
source env/bin/activate
20
+ cd -
19
21
20
22
# install utilities
21
23
$pip install coverage codecov flake8
22
24
23
25
# install testgres
24
- $pip install -U .
26
+ $pip install .
25
27
26
28
# test code quality
27
29
flake8 .
You can’t perform that action at this time.
0 commit comments