Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RUNNER_DEBUG (0.04 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/GithubCIDetector.java

     */
    public class GithubCIDetector implements CIDetector {
        public static final String NAME = "GitHub";
    
        private static final String GITHUB_ACTIONS = "GITHUB_ACTIONS";
        private static final String RUNNER_DEBUG = "RUNNER_DEBUG";
    
        @Override
        public Optional<CIInfo> detectCI() {
            String ciEnv = System.getenv(GITHUB_ACTIONS);
            if ("true".equals(ciEnv)) {
                return Optional.of(new CIInfo() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Apr 13 18:50:07 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/cisupport/CIDetectorHelperTest.java

        }
    
        @Test
        void githubDebug() throws Exception {
            assertEquals(
                    GithubCIDetector.NAME + "+VERBOSE;",
                    runner(Map.of("CI", "true", "GITHUB_ACTIONS", "true", "RUNNER_DEBUG", "1")));
        }
    
        @Test
        void travis() throws Exception {
            assertEquals(TravisCIDetector.NAME + ";", runner(Map.of("TRAVIS", "true")));
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Apr 13 18:50:07 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top