Open malnvenshorn opened 1 year ago
It's strange make citest
fails, but using it with docker compose works:
docker-compose.yml
version: '3.9'
services:
bumpver:
build:
context: .
dockerfile: docker_bumpver.Dockerfile
args:
UID: 1000
GID: 1000
command: make fmt lint mypy test test_compat
user: test
tty: true
working_dir: /test/app
volumes:
- ./:/test/app
docker_bumpver.Dockerfile
FROM registry.gitlab.com/mbarkhau/pycalver/base
ARG UID
ARG GID
RUN groupadd test -g ${GID}
RUN useradd test -u ${UID} -g ${GID} -m -s /bin/bash
Running
make citest
fails at thetest_compat
stage withModuleNotFoundError: No module named 'bumpver'
.