Skip to content

Commit 658f818

Browse files
authored
Rework CI Pipeline (#839)
Change pypy to pypy27 in tox. Fix checkout logic Pin tox requires
1 parent 4da4612 commit 658f818

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/containers/Dockerfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,8 @@ RUN sed -i 's/Driver=psqlodbca.so/Driver=\/usr\/lib\/x86_64-linux-gnu\/odbc\/psq
5959
RUN locale-gen --no-purge en_US.UTF-8
6060
ENV LANG=en_US.UTF-8 \ LANGUAGE=en_US:en \ LC_ALL=en_US.UTF-8
6161

62-
# Set user to non-root
63-
ENV HOME /home/github
64-
RUN groupadd -g 1000 github && \
65-
useradd -m -d "${HOME}" -s /bin/bash -u 1000 -g 1000 github
66-
USER 1000:1000
62+
# Use root user
63+
ENV HOME /root
6764
WORKDIR "${HOME}"
6865

6966
# Install pyenv

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
; - python-adapter_gevent-py27
4141

4242
[tox]
43+
requires = virtualenv<20.22.0
4344
setupdir = {toxinidir}
4445
envlist =
4546
python-adapter_cheroot-{py37,py38,py39,py310,py311},

0 commit comments

Comments
 (0)