1
1
mirror of https://github.com/tweag/nickel.git synced 2024-09-17 14:37:30 +03:00

print nice logs without losing speedup (#1594)

* print nice logs without losing speedup

* forgot stderr (the important one)
This commit is contained in:
Taeer Bar-Yam 2023-09-12 11:54:11 -04:00 committed by GitHub
parent e95ab85e79
commit aa1d9335c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,14 @@ jobs:
- name: Run all checks
run: |
nix flake check --log-format raw-with-logs
# see https://github.com/NixOS/nix/issues/8949 for why we redirect to
# an output file. Everything else is just capturing the error code
# while still printing the logs
set +e
nix flake check --print-build-logs > logs 2>&1
errcode=$?
cat logs
exit $errcode
- name: Typecheck benchmarks
run: find benches -type f -name "*.ncl" -print0 | xargs -0 -I file nix run . -- -f file typecheck