diff --git a/.github/workflows/pkg-test.yml b/.github/workflows/pkg-test.yml index 48acbbd6..51317a7c 100644 --- a/.github/workflows/pkg-test.yml +++ b/.github/workflows/pkg-test.yml @@ -10,7 +10,7 @@ permissions: read-all jobs: build: - name: Test + name: Package Test permissions: contents: read id-token: write diff --git a/plugins/nf-quilt/src/main/nextflow/quilt/jep/QuiltPackage.groovy b/plugins/nf-quilt/src/main/nextflow/quilt/jep/QuiltPackage.groovy index 54bd7874..420b056c 100644 --- a/plugins/nf-quilt/src/main/nextflow/quilt/jep/QuiltPackage.groovy +++ b/plugins/nf-quilt/src/main/nextflow/quilt/jep/QuiltPackage.groovy @@ -162,11 +162,10 @@ class QuiltPackage { List relativeChildren(String subpath) { Set keys = packageManifest().getEntries().keySet() - println("relativeChildren[${subpath}]: ${keys}") + log.debug("relativeChildren[${subpath}]: ${keys}") Collection children = keys.findResults { String key -> key.startsWith(subpath) ? key : null } - println("relativeChildren.children: ${children}") return children as List } diff --git a/plugins/nf-quilt/src/main/nextflow/quilt/nio/QuiltFileSystemProvider.groovy b/plugins/nf-quilt/src/main/nextflow/quilt/nio/QuiltFileSystemProvider.groovy index dc231c4a..2b269aaf 100644 --- a/plugins/nf-quilt/src/main/nextflow/quilt/nio/QuiltFileSystemProvider.groovy +++ b/plugins/nf-quilt/src/main/nextflow/quilt/nio/QuiltFileSystemProvider.groovy @@ -88,7 +88,7 @@ class QuiltFileSystemProvider extends FileSystemProvider implements FileSystemTr static boolean localProvider(Path path) { FileSystemProvider provider = provider(path) String providerName = provider?.class?.name?.toLowerCase() ?: '-' - log.debug("QuiltFileSystemProvider.localProvider[${path}] -> ${providerName}") + println("QuiltFileSystemProvider.localProvider[${path}] -> ${providerName}") return providerName.startsWith("unix") || providerName.startsWith("win") ||\ providerName.startsWith("mac") || providerName.startsWith("fat") } diff --git a/plugins/nf-quilt/src/test/nextflow/quilt/nio/QuiltNioTest.groovy b/plugins/nf-quilt/src/test/nextflow/quilt/nio/QuiltNioTest.groovy index 52b7c17e..326e9e02 100644 --- a/plugins/nf-quilt/src/test/nextflow/quilt/nio/QuiltNioTest.groovy +++ b/plugins/nf-quilt/src/test/nextflow/quilt/nio/QuiltNioTest.groovy @@ -132,7 +132,7 @@ class QuiltNioTest extends QuiltSpecification { then: !attrs.isRegularFile() attrs.isDirectory() - attrs.size() == 128 + attrs.size() > 100 !attrs.isSymbolicLink() !attrs.isOther() attrs.fileKey() == root @@ -216,14 +216,11 @@ class QuiltNioTest extends QuiltSpecification { void 'move a remote file to a bucket'() { given: Path path = Paths.get(new URI(WRITE_URL)) - println("QuiltNioTest:move:path $path") final source_url = WRITE_URL.replace('folder', 'source') final source = Paths.get(new URI(source_url)) - println("QuiltNioTest:move:source $source") Files.write(source, TEXT.bytes) and: Files.move(source, path) - println("QuiltNioTest:move: $source -> $path") expect: !existsPath(source) existsPath(path)