Loading .github/workflows/integTest-caching.yml +5 −5 Changes for .github/workflows/integTest-caching.yml: 5 added lines, 5 removed lines. Original line number Diff line number Diff line Loading @@ -22,12 +22,12 @@ jobs: - name: Build using Gradle wrapper uses: ./ with: build-root-directory: __tests__/samples/basic build-root-directory: __tests__/samples/groovy-dsl arguments: test - name: Build with configuration-cache enabled uses: ./ with: build-root-directory: __tests__/samples/basic build-root-directory: __tests__/samples/groovy-dsl arguments: test --configuration-cache # Test that the gradle-user-home cache will cache dependencies, by running build with --offline Loading @@ -43,7 +43,7 @@ jobs: - name: Execute Gradle build with --offline uses: ./ with: build-root-directory: __tests__/samples/basic build-root-directory: __tests__/samples/groovy-dsl arguments: test --offline cache-read-only: true Loading @@ -60,7 +60,7 @@ jobs: - name: Execute Gradle build and verify tasks from cache uses: ./ with: build-root-directory: __tests__/samples/basic build-root-directory: __tests__/samples/groovy-dsl arguments: test -DverifyCachedBuild=true cache-read-only: true Loading @@ -79,6 +79,6 @@ jobs: env: VERIFY_CACHED_CONFIGURATION: true with: build-root-directory: __tests__/samples/basic build-root-directory: __tests__/samples/groovy-dsl arguments: test --configuration-cache cache-read-only: true .github/workflows/integTest-execution.yml +66 −1 Changes for .github/workflows/integTest-execution.yml: 66 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -37,6 +37,71 @@ jobs: - name: Test use defined Gradle executable uses: ./ with: gradle-executable: __tests__/samples/basic/gradlew${{ matrix.script-suffix }} gradle-executable: __tests__/samples/groovy-dsl/gradlew${{ matrix.script-suffix }} build-root-directory: __tests__/samples/no-wrapper arguments: help -DgradleVersionCheck=7.1.1 gradle-versions: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] include: - os: windows-latest script-suffix: '.bat' runs-on: ${{ matrix.os }} steps: - name: Checkout sources uses: actions/checkout@v2 - name: Test Gradle 7 uses: ./ id: gradle7 with: gradle-version: 7.2 build-root-directory: __tests__/samples/no-wrapper arguments: help -DgradleVersionCheck=7.2 - name: Check Gradle 7 scan if: ${{ !steps.gradle7.outputs.build-scan-url }} uses: actions/github-script@v3 with: script: | core.setFailed('No build scan detected') - name: Test Gradle 6 uses: ./ id: gradle6 with: gradle-version: 6.9 build-root-directory: __tests__/samples/no-wrapper arguments: help -DgradleVersionCheck=6.9 - name: Check Gradle 6 scan if: ${{ !steps.gradle6.outputs.build-scan-url }} uses: actions/github-script@v3 with: script: | core.setFailed('No build scan detected') - name: Test Gradle 5 uses: ./ id: gradle5 with: gradle-version: 5.6.4 build-root-directory: __tests__/samples/no-wrapper-gradle-5 arguments: help -DgradleVersionCheck=5.6.4 - name: Check Gradle 5 scan if: ${{ !steps.gradle5.outputs.build-scan-url }} uses: actions/github-script@v3 with: script: | core.setFailed('No build scan detected') - name: Test Gradle 4 uses: ./ id: gradle4 with: gradle-version: 4.10.3 build-root-directory: __tests__/samples/no-wrapper-gradle-4 arguments: help -DgradleVersionCheck=4.10.3 - name: Check Gradle 4 scan if: ${{ !steps.gradle4.outputs.build-scan-url }} uses: actions/github-script@v3 with: script: | core.setFailed('No build scan detected') No newline at end of file .github/workflows/integTest-gradle-user-home.yml +3 −3 Changes for .github/workflows/integTest-gradle-user-home.yml: 3 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ jobs: - name: Build using Gradle wrapper uses: ./ with: build-root-directory: __tests__/samples/basic build-root-directory: __tests__/samples/groovy-dsl arguments: test # Test that the gradle-user-home cache will cache dependencies, by running build with --offline Loading @@ -33,7 +33,7 @@ jobs: - name: Execute Gradle build with --offline uses: ./ with: build-root-directory: __tests__/samples/basic build-root-directory: __tests__/samples/groovy-dsl arguments: test --offline cache-read-only: true Loading @@ -47,6 +47,6 @@ jobs: - name: Execute Gradle build and verify tasks from cache uses: ./ with: build-root-directory: __tests__/samples/basic build-root-directory: __tests__/samples/groovy-dsl arguments: test -DverifyCachedBuild=true cache-read-only: true __tests__/samples/basic/.gitignore→__tests__/samples/.gitignore File moved. View file __tests__/samples/basic/.gitattributes −6 File deleted. Show changes Loading
.github/workflows/integTest-caching.yml +5 −5 Changes for .github/workflows/integTest-caching.yml: 5 added lines, 5 removed lines. Original line number Diff line number Diff line Loading @@ -22,12 +22,12 @@ jobs: - name: Build using Gradle wrapper uses: ./ with: build-root-directory: __tests__/samples/basic build-root-directory: __tests__/samples/groovy-dsl arguments: test - name: Build with configuration-cache enabled uses: ./ with: build-root-directory: __tests__/samples/basic build-root-directory: __tests__/samples/groovy-dsl arguments: test --configuration-cache # Test that the gradle-user-home cache will cache dependencies, by running build with --offline Loading @@ -43,7 +43,7 @@ jobs: - name: Execute Gradle build with --offline uses: ./ with: build-root-directory: __tests__/samples/basic build-root-directory: __tests__/samples/groovy-dsl arguments: test --offline cache-read-only: true Loading @@ -60,7 +60,7 @@ jobs: - name: Execute Gradle build and verify tasks from cache uses: ./ with: build-root-directory: __tests__/samples/basic build-root-directory: __tests__/samples/groovy-dsl arguments: test -DverifyCachedBuild=true cache-read-only: true Loading @@ -79,6 +79,6 @@ jobs: env: VERIFY_CACHED_CONFIGURATION: true with: build-root-directory: __tests__/samples/basic build-root-directory: __tests__/samples/groovy-dsl arguments: test --configuration-cache cache-read-only: true
.github/workflows/integTest-execution.yml +66 −1 Changes for .github/workflows/integTest-execution.yml: 66 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -37,6 +37,71 @@ jobs: - name: Test use defined Gradle executable uses: ./ with: gradle-executable: __tests__/samples/basic/gradlew${{ matrix.script-suffix }} gradle-executable: __tests__/samples/groovy-dsl/gradlew${{ matrix.script-suffix }} build-root-directory: __tests__/samples/no-wrapper arguments: help -DgradleVersionCheck=7.1.1 gradle-versions: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] include: - os: windows-latest script-suffix: '.bat' runs-on: ${{ matrix.os }} steps: - name: Checkout sources uses: actions/checkout@v2 - name: Test Gradle 7 uses: ./ id: gradle7 with: gradle-version: 7.2 build-root-directory: __tests__/samples/no-wrapper arguments: help -DgradleVersionCheck=7.2 - name: Check Gradle 7 scan if: ${{ !steps.gradle7.outputs.build-scan-url }} uses: actions/github-script@v3 with: script: | core.setFailed('No build scan detected') - name: Test Gradle 6 uses: ./ id: gradle6 with: gradle-version: 6.9 build-root-directory: __tests__/samples/no-wrapper arguments: help -DgradleVersionCheck=6.9 - name: Check Gradle 6 scan if: ${{ !steps.gradle6.outputs.build-scan-url }} uses: actions/github-script@v3 with: script: | core.setFailed('No build scan detected') - name: Test Gradle 5 uses: ./ id: gradle5 with: gradle-version: 5.6.4 build-root-directory: __tests__/samples/no-wrapper-gradle-5 arguments: help -DgradleVersionCheck=5.6.4 - name: Check Gradle 5 scan if: ${{ !steps.gradle5.outputs.build-scan-url }} uses: actions/github-script@v3 with: script: | core.setFailed('No build scan detected') - name: Test Gradle 4 uses: ./ id: gradle4 with: gradle-version: 4.10.3 build-root-directory: __tests__/samples/no-wrapper-gradle-4 arguments: help -DgradleVersionCheck=4.10.3 - name: Check Gradle 4 scan if: ${{ !steps.gradle4.outputs.build-scan-url }} uses: actions/github-script@v3 with: script: | core.setFailed('No build scan detected') No newline at end of file
.github/workflows/integTest-gradle-user-home.yml +3 −3 Changes for .github/workflows/integTest-gradle-user-home.yml: 3 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ jobs: - name: Build using Gradle wrapper uses: ./ with: build-root-directory: __tests__/samples/basic build-root-directory: __tests__/samples/groovy-dsl arguments: test # Test that the gradle-user-home cache will cache dependencies, by running build with --offline Loading @@ -33,7 +33,7 @@ jobs: - name: Execute Gradle build with --offline uses: ./ with: build-root-directory: __tests__/samples/basic build-root-directory: __tests__/samples/groovy-dsl arguments: test --offline cache-read-only: true Loading @@ -47,6 +47,6 @@ jobs: - name: Execute Gradle build and verify tasks from cache uses: ./ with: build-root-directory: __tests__/samples/basic build-root-directory: __tests__/samples/groovy-dsl arguments: test -DverifyCachedBuild=true cache-read-only: true