Skip to content

Commit

Permalink
Testing html rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
krmahadevan committed Jun 2, 2023
1 parent 38279c6 commit f6f1113
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ jobs:
jdkFile: '${{ runner.temp }}/java_package.tar.gz'
architecture: x64
- name: Test
id: run_test_cases
uses: burrunan/gradle-cache-action@v1
with:
job-id: jdk${{ matrix.jdk.version }}
Expand All @@ -71,3 +72,13 @@ jobs:
build
properties: |
testng.test.extra.jvmargs=${{ matrix.testExtraJvmArgs }}
- name: 'Generate unique build id'
id: build_id
if: ${{ steps.run_test_cases.outcome == 'failure' }}
run: echo "id=$(date +%s)" >> $GITHUB_OUTPUT
- name: Upload build reports
if: ${{ steps.run_test_cases.outcome == 'failure' }}
uses: actions/upload-artifact@v3
with:
name: build-reports-${{ matrix.jdk.group }}-${{ matrix.jdk.version }}-${{ steps.build_id.outputs.id }}
path: testng-core/build/reports/tests/test/**

0 comments on commit f6f1113

Please # to comment.