Skip to content

Commit

Permalink
Update ids for Gradle and Maven tests in workflow
Browse files Browse the repository at this point in the history
The update involves revising the id names for Gradle and Maven tests from 'test' to 'test-gradle' and 'test-maven' respectively in the GitHub action config file (.github/workflows/test.yml). These changes enable accurate linking to test
  • Loading branch information
fscarponi committed Mar 7, 2024
1 parent 57029b4 commit eae736e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ jobs:
java-version: 11
distribution: 'temurin'
- name: Run Gradle tests
id: test
id: test-gradle
env:
KMP: true
GRADLE_VERSION: ${{ matrix.gradle-version }}
GRADLE_ENTERPRISE_KEY: ${{ secrets.GRADLE_ENTERPRISE_KEY }}
JAVA_VERSION: ${{matrix.jdk-version}}
run: ./gradlew :plugin:test --tests "GradleE2ETests"
- name: Upload test result
if: steps.test.outcome == 'failure'
if: steps.test-gradle.outcome == 'failure'
uses: actions/upload-artifact@v4
with:
name: testResult-${{ matrix.os }}-${{ matrix.gradle-version }}
Expand All @@ -56,14 +56,14 @@ jobs:
java-version: 11
distribution: 'temurin'
- name: Run Gradle tests
id: test
id: test-maven
env:
KMP: true
GRADLE_ENTERPRISE_KEY: ${{ secrets.GRADLE_ENTERPRISE_KEY }}
JAVA_VERSION: ${{matrix.jdk-version}}
run: ./gradlew :plugin:test --tests "MavenE2ETests"
- name: Upload test result
if: steps.test.outcome == 'failure'
if: steps.test-maven.outcome == 'failure'
uses: actions/upload-artifact@v4
with:
name: testResult-${{ matrix.os }}-${{ matrix.gradle-version }}
Expand Down

0 comments on commit eae736e

Please sign in to comment.