1
Fork 0

[ci] replace tee with awk

main
Motiejus Jakštys 2021-09-29 14:43:21 +03:00 committed by Motiejus Jakštys
parent ec62b65ecd
commit 4754869190
1 changed files with 3 additions and 1 deletions

View File

@ -14,6 +14,8 @@ tasks:
- lint: |
make -C undocker -O -j$(nproc) lint
- usage: |
./undocker/undocker |& tee /dev/stderr | grep -q "Built with "
# like 'grep -q', but prints output too.
# | tee /dev/stderr doesn't work on sourcehut workers; permission denied.
./undocker/undocker |& awk 'BEGIN{c=1};/Built with /{c=0};{print};END{exit c}'
artifacts:
- undocker/coverage.html