containerized tests: comment out and document
@@ -44,6 +44,13 @@ check-pypi-packaging:
build-tests: recipe-tests.yaml
ansible-bender build -- ./recipe-tests.yaml $(SOURCE_GIT_IMAGE) $(PACKIT_TESTS_IMAGE)
-# FIXME: is not working ATM
-test-in-container:
- podman run --rm -ti -v $(CURDIR):/src:Z -w /src $(PACKIT_TESTS_IMAGE) make check
+shell:
+ podman run --rm -ti -v $(CURDIR):/src:Z -w /src $(PACKIT_TESTS_IMAGE) bash
+
+# we should probably run tests in a root container (sudo podman)
+# getting these type of errors with rootless:
+# error: [Errno 13] Permission denied: '/src/.tox/py36/lib/python3.6/site-packages/rpm-4.14.2.1-py3.6-linux-x86_64.egg'
+# even though it doesn't make any sense: after tox fails, I can access the file
+# just fine: a bug in fuse-overlayfs?
+# test-in-container:
+# podman run --rm -ti -v $(CURDIR):/src:Z -w /src $(PACKIT_TESTS_IMAGE) make check
