diff --git a/build.gradle b/build.gradle index 10b74eb235..bd46141b9b 100644 --- a/build.gradle +++ b/build.gradle @@ -39,8 +39,8 @@ test { useJUnitPlatform() maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1 if (project.hasProperty('notoken')) { - exclude '**/GHRepositoryWrapperTest.java' - exclude '**/TestCommandLine.class' + exclude '**/GHRepositoryWrapperTest.*' + exclude '**/TestCommandLine.*' print 'Skipping tests that require a GitHub token' } }