Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
evannawfal committed Feb 8, 2025
1 parent eb2ac5c commit 139bdd2
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/syntax-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,18 @@ jobs:
- name: Compile tests (syntax check for test files)
run: mvn test-compile -DskipTests

# Run Tests
- name: Run test suite
run: mvn test

# Publish Test Results (doesn't fail the workflow even if tests fail)
- name: Publish Test Results
uses: dorny/test-reporter@v1
if: always() # Ensures this runs even if tests fail
if: always()
with:
name: JUnit Tests
path: target/surefire-reports/*.xml
reporter: java-junit
fail-on-error: false # Prevents the workflow from failing on test errors
fail-on-error: false

# Upload Test Reports as Artifacts
- name: Upload Test Reports
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 139bdd2

Please sign in to comment.