mirror of
https://github.com/tweag/nickel.git
synced 2024-09-19 07:28:22 +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:
parent
e95ab85e79
commit
aa1d9335c7
9
.github/workflows/continuous-integration.yml
vendored
9
.github/workflows/continuous-integration.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user