Skip to content

Commit

Permalink
limit console output to warnings and above
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimir-8 committed Feb 5, 2025
1 parent 2f6a4de commit 5c292a1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/actions/upload-test-logs/action.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: Upload test logs
name: Upload logs from the test environment

runs:
using: "composite"
steps:
- name: Show Symfony logs
- name: Show Symfony warnings
shell: bash
run: docker compose exec -T php cat var/logs/test-$(date +'%Y-%m-%d').log | grep -v DEBUG
- name: Upload Symfony logs
run: docker compose exec -T php cat var/logs/test-$(date +'%Y-%m-%d').log | grep -v -e DEBUG -e INFO
- name: Copy Symfony logs
shell: bash
run: docker compose exec -T php cat var/logs/test-$(date +'%Y-%m-%d').log > symfony_logs.log
- name: Upload Symfony logs artifact
- name: Upload Symfony logs
uses: actions/upload-artifact@v4
with:
name: symfony-logs
Expand Down

0 comments on commit 5c292a1

Please sign in to comment.