Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing test message and stack trace not showing #38

Open
Jonathan-Turner opened this issue Apr 27, 2024 · 0 comments
Open

Failing test message and stack trace not showing #38

Jonathan-Turner opened this issue Apr 27, 2024 · 0 comments

Comments

@Jonathan-Turner
Copy link

Good morning. I have been playing with your action in a small test project I am working on and ran into an issue I cannot see documented / commented on anywhere in the notes.

With this configuration (mostly copied from your readme), it is effectively reporting on error count, but it is not displaying details for failing tests.

    - name: dotnet test
      run: dotnet test --logger trx --configuration Release

    - name: Process trx reports with default
      if: always()
      # You may also reference just the major or major.minor version
      uses: im-open/[email protected]
      with:
        github-token: ${{ secrets.GITHUB_TOKEN }}      
        create-status-check: true
        create-pr-comment: true
        update-comment-if-one-exists: true
        timezone: 'america/chicago'
        comment-identifier: 'BookQuest PR Test Output'

    - name: Annotate Test Outcome
      if: steps.process-trx.outputs.test-results-truncated == 'true'
      run: cat ${{ steps.process-trx.outputs.test-results-file-path }} > $GITHUB_STEP_SUMMARY

image

If I have made a mistake in configuration / missed something, my apologies. Otherwise, there might be an issue with assigning / showing these values.

Appreciate any help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant