diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fcdba529..d04b48a4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,6 +28,7 @@ jobs: # ** FOR GENERAL USE, SHOULD NOT NEED TO CHANGE ** instance: iris artifact_dir: build-artifacts + sys_dir: durable # Note: test_reports value is duplicated in test_flags environment variable test_reports: test-reports @@ -54,7 +55,7 @@ jobs: # Run InterSystems IRIS Instance docker pull $container_image - docker run -d -h $instance --name $instance -v $GITHUB_WORKSPACE:/source:rw -v $GITHUB_WORKSPACE/$test_reports:/$test_reports:rw -v $GITHUB_WORKSPACE/$artifact_dir:/$artifact_dir:rw --init $container_image + docker run -d -h $instance --name $instance -v $GITHUB_WORKSPACE:/source:rw -v $GITHUB_WORKSPACE/$test_reports:/$test_reports:rw -v $GITHUB_WORKSPACE/$artifact_dir:/$artifact_dir:rw -v $GITHUB_WORKSPACE/$sys_dir:/$sys_dir --env ISC_DATA_DIRECTORY=/$sys_dir --init $container_image echo halt > wait # Wait for instance to be ready until docker exec --interactive $instance iris session $instance < wait; do sleep 1; done