Skip to content

Commit da4d041

Browse files
[primer] Echo warnings
1 parent e319813 commit da4d041

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/primer_run_main.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ jobs:
9494
. venv/bin/activate
9595
pip install -e .
9696
python tests/primer/__main__.py run --type=main --batches=${{ matrix.batches }} --batchIdx=${{ matrix.batchIdx }} 2>warnings.txt
97+
- name: Echo warnings
98+
if: success() || failure()
99+
run: |
97100
WARNINGS=$(head -c 65000 < warnings.txt)
98101
if [[ $WARNINGS ]]
99102
then echo "::warning ::$WARNINGS"

.github/workflows/primer_run_pr.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,9 @@ jobs:
159159
. venv/bin/activate
160160
pip install -e .
161161
python tests/primer/__main__.py run --type=pr --batches=${{ matrix.batches }} --batchIdx=${{ matrix.batchIdx }} 2>warnings.txt
162+
- name: Echo warnings
163+
if: success() || failure()
164+
run: |
162165
WARNINGS=$(head -c 65000 < warnings.txt)
163166
if [[ $WARNINGS ]]
164167
then echo "::warning ::$WARNINGS"

0 commit comments

Comments
 (0)