Skip to content

Commit

Permalink
fix(ci): update client path for raw data log check
Browse files Browse the repository at this point in the history
  • Loading branch information
RolandSherwin committed Jan 18, 2024
1 parent 5ab4e99 commit bd50a24
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ jobs:
shell: bash
timeout-minutes: 10
run: |
if ! rg '^' "${{ matrix.local_safe_path }}"/*/*/logs | awk 'length($0) > 15000 { print; exit 1 }'
if ! rg '^' "${{ matrix.local_safe_path }}"/client/logs | awk 'length($0) > 15000 { print; exit 1 }'
then
echo "We are logging an extremely large data"
exit 1
Expand All @@ -645,7 +645,7 @@ jobs:
fi
# sanity check
if ! rg '^' "${{ matrix.local_safe_path }}"/*/*/logs | awk 'length($0) > 1000 { print; exit 1 }'
if ! rg '^' "${{ matrix.local_safe_path }}"/client/logs | awk 'length($0) > 1000 { print; exit 1 }'
then
echo "Sanity check pass for local safe path"
fi
Expand Down Expand Up @@ -821,7 +821,7 @@ jobs:
shell: bash
timeout-minutes: 10
run: |
if ! rg '^' "${{ matrix.local_safe_path }}"/*/*/logs | awk 'length($0) > 15000 { print; exit 1 }'
if ! rg '^' "${{ matrix.local_safe_path }}"/client/logs | awk 'length($0) > 15000 { print; exit 1 }'
then
echo "We are logging an extremely large data"
exit 1
Expand All @@ -834,7 +834,7 @@ jobs:
fi
# sanity check
if ! rg '^' "${{ matrix.local_safe_path }}"/*/*/logs | awk 'length($0) > 1000 { print; exit 1 }'
if ! rg '^' "${{ matrix.local_safe_path }}"/client/logs | awk 'length($0) > 1000 { print; exit 1 }'
then
echo "Sanity check pass for local safe path"
fi
Expand Down

0 comments on commit bd50a24

Please sign in to comment.