File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 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 \
1010ENV LANG=C.UTF-8
1111
1212RUN mkdir -p /pg
13- VOLUME /pg
1413COPY run_tests.sh /run.sh
1514RUN chmod 755 /run.sh
1615
1716ADD . /pg/testgres
1817WORKDIR /pg/testgres
19- RUN chown postgres:postgres /pg/testgres
18+ RUN chown -R postgres:postgres /pg
2019
2120USER postgres
2221ENTRYPOINT PYTHON=${PYTHON} /run.sh
Original file line number Diff line number Diff line change 1313fi
1414
1515# prepare environment
16- echo using $virtualenv
16+ cd ..
1717$virtualenv env
18+ export VIRTUAL_ENV_DISABLE_PROMPT=1
1819source env/bin/activate
20+ cd -
1921
2022# install utilities
2123$pip install coverage codecov flake8
2224
2325# install testgres
24- $pip install -U .
26+ $pip install .
2527
2628# test code quality
2729flake8 .
You can’t perform that action at this time.
0 commit comments