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

All GitHub Actions workflows should cat the logs from failing tests. #2742

Closed
nicowilliams opened this issue Jul 21, 2023 · 2 comments
Closed

Comments

@nicowilliams
Copy link
Contributor

.github/workflows/scanbuild.yml has:

            - name: Test logs
              if: ${{ failure() }}
              run: |
                cat test-suite.log
                cat tests/*.log

better would be:

            - name: Failed Test logs
              if: ${{ failure() }}
              run: |
                find build -name \*.trs | xargs grep -lw FAIL | sed -e 's/trs$/log/' | xargs cat

and every workflow should have this.

@itchyny
Copy link
Contributor

itchyny commented Jul 21, 2023

Maybe same issue #2589? Automake has VERBOSE variable so we could simply enable that; make check VERBOSE=1.

@itchyny itchyny added the test label Jul 21, 2023
@nicowilliams
Copy link
Contributor Author

Good point, it's a dup yes.

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

No branches or pull requests

2 participants