File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
integration/src/main/java/ai/djl/integration/tests/model_zoo Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 2323import ai .djl .util .Utils ;
2424import java .io .IOException ;
2525import java .nio .file .Paths ;
26+ import java .util .Calendar ;
2627import java .util .List ;
2728import java .util .ServiceLoader ;
2829import org .testng .SkipException ;
@@ -49,7 +50,10 @@ public void tearDown() {
4950 @ Test
5051 public void testDownloadModels () throws IOException , ModelException {
5152 if (!Boolean .getBoolean ("nightly" ) || Boolean .getBoolean ("offline" )) {
52- throw new SkipException ("Nightly only" );
53+ throw new SkipException ("Weekly only" );
54+ }
55+ if (Calendar .SATURDAY == Calendar .getInstance ().get (Calendar .DAY_OF_WEEK )) {
56+ throw new SkipException ("Weekly only" );
5357 }
5458
5559 ServiceLoader <ZooProvider > providers = ServiceLoader .load (ZooProvider .class );
You can’t perform that action at this time.
0 commit comments