Fix cache dir, add more large test tags
This commit is contained in:
		
							parent
							
								
									cf26ffe3d3
								
							
						
					
					
						commit
						c2e487781d
					
				| @ -22,6 +22,8 @@ jobs: | ||||
|           cmake --version | ||||
|           protoc --version | ||||
|           export OMP_NUM_THREADS=1 | ||||
|           mvn   -DexcludedGroups="long-running-tests,large-resources, distributed-systems" -DskipTestResourceEnforcement=true -Ptestresources  -Pintegration-tests  -Pnd4j-tests-cpu   clean test | ||||
|           mvn -Dgroups="long-running-tests, large-resources, distributed-systems" -Ptestresources -Pnd4j-tests-cpu  -Dtest.offheap.size=14g -Dtest.heap.size=6g -Dsurefire.parallel.forcedTimeout=200 0Dsurefire.parallel.timeout=200  -Dsurefire.timeout=200 -Dsurefire.exitTimeout=200 test | ||||
|           mkdir -p ${GITHUB_WORKSPACE}/resources | ||||
|           mkdir -p ${GITHUB_WORKSPACE}/cache | ||||
|           mvn -Dorg.nd4j.strumpf.resource.dirs=${GITHUB_WORKSPACE}/resources -Dorg.nd4j.test.resources.cache.dir=${GITHUB_WORKSPACE}/cache -DexcludedGroups="long-running-tests, large-resources, distributed-systems"  -DskipTestResourceEnforcement=true -Ptestresources  -Pintegration-tests  -Pnd4j-tests-cuda   clean test --fail-never | ||||
|           mvn -Dorg.nd4j.strumpf.resource.dirs=${GITHUB_WORKSPACE}/resources -Dorg.nd4j.test.resources.cache.dir=${GITHUB_WORKSPACE}/cache -Dgroups="long-running-tests, large-resources, distributed-systems" -Ptestresources -Pnd4j-tests-cuda  -Dtest.offheap.size=14g -Dtest.heap.size=6g  -Dsurefire.parallel.forcedTimeout=200 0Dsurefire.parallel.timeout=200  -Dsurefire.timeout=200 -Dsurefire.exitTimeout=200 test --fail-never | ||||
| 
 | ||||
|  | ||||
| @ -34,6 +34,8 @@ jobs: | ||||
|           cmake --version | ||||
|           protoc --version | ||||
|           export OMP_NUM_THREADS=1 | ||||
|           mvn  -DexcludedGroups="long-running-tests, large-resources, distributed-systems"  -DskipTestResourceEnforcement=true -Ptestresources  -Pintegration-tests  -Pnd4j-tests-cuda   clean test --fail-never | ||||
|           mvn -Dgroups="long-running-tests, large-resources, distributed-systems" -Ptestresources -Pnd4j-tests-cuda  -Dtest.offheap.size=14g -Dtest.heap.size=6g  -Dsurefire.parallel.forcedTimeout=200 0Dsurefire.parallel.timeout=200  -Dsurefire.timeout=200 -Dsurefire.exitTimeout=200 test --fail-never | ||||
|           mkdir -p ${GITHUB_WORKSPACE}/resources | ||||
|           mkdir -p ${GITHUB_WORKSPACE}/cache | ||||
|           mvn -Dorg.nd4j.strumpf.resource.dirs=${GITHUB_WORKSPACE}/resources -Dorg.nd4j.test.resources.cache.dir=${GITHUB_WORKSPACE}/cache -DexcludedGroups="long-running-tests, large-resources, distributed-systems"  -DskipTestResourceEnforcement=true -Ptestresources  -Pintegration-tests  -Pnd4j-tests-cuda   clean test --fail-never | ||||
|           mvn -Dorg.nd4j.strumpf.resource.dirs=${GITHUB_WORKSPACE}/resources -Dorg.nd4j.test.resources.cache.dir=${GITHUB_WORKSPACE}/cache -Dgroups="long-running-tests, large-resources, distributed-systems" -Ptestresources -Pnd4j-tests-cuda  -Dtest.offheap.size=14g -Dtest.heap.size=6g  -Dsurefire.parallel.forcedTimeout=200 0Dsurefire.parallel.timeout=200  -Dsurefire.timeout=200 -Dsurefire.exitTimeout=200 test --fail-never | ||||
| 
 | ||||
|  | ||||
| @ -53,6 +53,8 @@ import static org.junit.jupiter.api.Assertions.*; | ||||
| 
 | ||||
| @Tag(TagNames.FILE_IO) | ||||
| @NativeTag | ||||
| @Tag(TagNames.LARGE_RESOURCES) | ||||
| @Tag(TagNames.LONG_TEST) | ||||
| public class TestBertIterator extends BaseDL4JTest { | ||||
| 
 | ||||
|     private static File pathToVocab = Resources.asFile("other/vocab.txt"); | ||||
|  | ||||
| @ -51,6 +51,8 @@ import static org.junit.jupiter.api.Assertions.*; | ||||
| @Slf4j | ||||
| @Tag(TagNames.FILE_IO) | ||||
| @NativeTag | ||||
| @Tag(TagNames.LONG_TEST) | ||||
| @Tag(TagNames.LARGE_RESOURCES) | ||||
| public class FastTextTest extends BaseDL4JTest { | ||||
| 
 | ||||
| 
 | ||||
|  | ||||
| @ -662,6 +662,8 @@ public class ParagraphVectorsTest extends BaseDL4JTest { | ||||
|     public void testIterator(@TempDir Path testDir) throws IOException { | ||||
|         val folder_labeled = new File(testDir.toFile(),"labeled"); | ||||
|         val folder_unlabeled = new File(testDir.toFile(),"unlabeled"); | ||||
|         assertTrue(folder_labeled.mkdirs()); | ||||
|         assertTrue(folder_labeled.mkdirs()); | ||||
|         new ClassPathResource("/paravec/labeled/").copyDirectory(folder_labeled); | ||||
|         new ClassPathResource("/paravec/unlabeled/").copyDirectory(folder_unlabeled); | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user