Skip to content

Commit 6bf13bf

Browse files
committed
Skip the --volume test on CircleCI
1 parent 3486f0f commit 6bf13bf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

unit_test/oci_container_test.py

+3
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,9 @@ def test_create_args(tmp_path: Path, request):
304304
if not request.config.getoption("--run-docker"):
305305
pytest.skip("need --run-docker option to run")
306306

307+
if "CIRCLECI" in os.environ:
308+
pytest.skip("Skipping test on CircleCI because docker there does not support --volume")
309+
307310
test_mount_dir = tmp_path / "test_mount"
308311
test_mount_dir.mkdir()
309312
(test_mount_dir / "test_file.txt").write_text("1234")

0 commit comments

Comments
 (0)