Loading .github/workflows/integTest-caching-config.yml +22 −1 Changes for .github/workflows/integTest-caching-config.yml: 22 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -57,4 +57,25 @@ jobs: working-directory: __tests__/samples/groovy-dsl run: ./gradlew test --offline cache-disabled: strategy: matrix: os: [ubuntu-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - name: Checkout sources uses: actions/checkout@v2 - name: Setup Gradle uses: ./ with: cache-disabled: true - name: Run Gradle build id: gradle working-directory: __tests__/samples/no-wrapper${{ matrix.build-root-suffix }} run: gradle help "-DgradleVersionCheck=${{matrix.gradle}}" - name: Check build scan url is captured if: ${{ !steps.gradle.outputs.build-scan-url }} uses: actions/github-script@v3 with: script: | core.setFailed('No build scan detected') .github/workflows/integTest-caching-configuration-cache.yml +3 −3 Changes for .github/workflows/integTest-caching-configuration-cache.yml: 3 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -83,7 +83,7 @@ jobs: uses: actions/checkout@v2 - name: Setup Gradle uses: ./ - name: Kotlin build with configuration-cache enabled - name: Execute 'help' with configuration-cache enabled working-directory: __tests__/samples/kotlin-dsl run: ./gradlew help --configuration-cache Loading @@ -100,7 +100,7 @@ jobs: uses: actions/checkout@v2 - name: Setup Gradle uses: ./ - name: Kotlin build with configuration-cache enabled - name: Execute 'test' with configuration-cache enabled working-directory: __tests__/samples/kotlin-dsl run: ./gradlew test --configuration-cache Loading @@ -120,7 +120,7 @@ jobs: uses: ./ with: cache-read-only: true - name: Execute Gradle build and verify cached configuration - name: Execute 'test' again and verify cached configuration env: VERIFY_CACHED_CONFIGURATION: true working-directory: __tests__/samples/kotlin-dsl Loading Loading
.github/workflows/integTest-caching-config.yml +22 −1 Changes for .github/workflows/integTest-caching-config.yml: 22 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -57,4 +57,25 @@ jobs: working-directory: __tests__/samples/groovy-dsl run: ./gradlew test --offline cache-disabled: strategy: matrix: os: [ubuntu-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - name: Checkout sources uses: actions/checkout@v2 - name: Setup Gradle uses: ./ with: cache-disabled: true - name: Run Gradle build id: gradle working-directory: __tests__/samples/no-wrapper${{ matrix.build-root-suffix }} run: gradle help "-DgradleVersionCheck=${{matrix.gradle}}" - name: Check build scan url is captured if: ${{ !steps.gradle.outputs.build-scan-url }} uses: actions/github-script@v3 with: script: | core.setFailed('No build scan detected')
.github/workflows/integTest-caching-configuration-cache.yml +3 −3 Changes for .github/workflows/integTest-caching-configuration-cache.yml: 3 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -83,7 +83,7 @@ jobs: uses: actions/checkout@v2 - name: Setup Gradle uses: ./ - name: Kotlin build with configuration-cache enabled - name: Execute 'help' with configuration-cache enabled working-directory: __tests__/samples/kotlin-dsl run: ./gradlew help --configuration-cache Loading @@ -100,7 +100,7 @@ jobs: uses: actions/checkout@v2 - name: Setup Gradle uses: ./ - name: Kotlin build with configuration-cache enabled - name: Execute 'test' with configuration-cache enabled working-directory: __tests__/samples/kotlin-dsl run: ./gradlew test --configuration-cache Loading @@ -120,7 +120,7 @@ jobs: uses: ./ with: cache-read-only: true - name: Execute Gradle build and verify cached configuration - name: Execute 'test' again and verify cached configuration env: VERIFY_CACHED_CONFIGURATION: true working-directory: __tests__/samples/kotlin-dsl Loading