Unverified Commit d71ecafe authored by daz's avatar daz
Browse files

Minor test reorg

parent 1d19edab
Loading
Loading
Loading
Loading
+15 −15
Changes for .github/workflows/integ-test-dependency-graph.yml: 15 added lines, 15 removed lines.
Original line number Diff line number Diff line
@@ -39,38 +39,38 @@ jobs:
      run: ./gradlew build
      working-directory: .github/workflow-samples/groovy-dsl

  kotlin-generate:
    strategy:
      matrix:
        os: ${{fromJSON(inputs.runner-os)}}
    runs-on: ${{ matrix.os }}
  groovy-submit:
    needs: [groovy-generate]
    runs-on: "ubuntu-latest"
    steps:
    - name: Checkout sources
      uses: actions/checkout@v4
    - name: Initialize integ-test
      uses: ./.github/actions/init-integ-test

    - name: Setup Gradle for dependency-graph generate
    - name: Submit dependency graphs
      uses: ./setup-gradle
      with:
        dependency-graph: generate-and-submit
    - name: Run gradle build
      run: ./gradlew build
      working-directory: .github/workflow-samples/kotlin-dsl
        dependency-graph: download-and-submit

  submit:
    needs: [groovy-generate]
    runs-on: "ubuntu-latest"
  kotlin-generate-and-submit:
    strategy:
      matrix:
        os: ${{fromJSON(inputs.runner-os)}}
    runs-on: ${{ matrix.os }}
    steps:
    - name: Checkout sources
      uses: actions/checkout@v4
    - name: Initialize integ-test
      uses: ./.github/actions/init-integ-test

    - name: Submit dependency graphs
    - name: Setup Gradle for dependency-graph generate
      uses: ./setup-gradle
      with:
        dependency-graph: download-and-submit
        dependency-graph: generate-and-submit
    - name: Run gradle build
      run: ./gradlew build
      working-directory: .github/workflow-samples/kotlin-dsl

  multiple-builds:
    strategy:
+3
Changes for CONTRIBUTING.md: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -30,6 +30,9 @@ Example running a single job:
Known issues:
- `integ-test-cache-cleanup.yml` fails because `gradle` is not installed on the runner. Should be fixed by #33.
- `integ-test-detect-java-toolchains.yml` fails when running on a `linux/amd64` container, since the expected pre-installed JDKs are not present. Should be fixed by #89.
- `act` is not yet compatible with `actions/upload-artifact@v4` (or related toolkit functions)
    - See https://github.com/nektos/act/pull/2224
- Workflows run by `act` cannot submit to the dependency-submission API, as no `GITHUB_TOKEN` is available by default.

Tips:
- Add the following lines to `~/.actrc`: