Bump mikepenz/action-junit-report from 4.1.0 to 4.2.1 #101
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test sharpen-action | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '8' | |
cache: 'maven' | |
- name: Convert test project to C# | |
uses: javiertuya/sharpen-action@main | |
with: | |
working-dir: 'test' | |
project-dir: 'src/main/java' | |
sharpen-args: '@sharpen-all-options.txt' | |
- name: Test converted files | |
run: cd test && mvn test --no-transfer-progress -Dmaven.test.failure.ignore=true | |
- name: Publish test report | |
if: always() | |
uses: mikepenz/action-junit-report@v4.2.1 | |
with: | |
check_name: test-report | |
report_paths: '**/target/surefire-reports/TEST-*.xml' | |
fail_on_failure: 'true' | |
- name: Publish converted sources & test report files | |
if: always() | |
uses: actions/upload-artifact@v4.3.1 | |
with: | |
name: converted sources & test reports | |
path: | | |
test/src/main/main.net | |
test/target/*.html | |
test/target/surefire-reports |