commit bc725b6268216cd0e345126946fe299e4daca643
parent afdb8987d4e6e0dbb7c8f2e17a9f0c0118ec5452
Author: Suzanne Soy <git@suzanne.soy>
Date: Sun, 21 Feb 2021 20:34:20 +0000
debug
Diffstat:
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
@@ -21,3 +21,7 @@ jobs:
run: nix build path://$PWD/
- name: Run tests
run: PATH="$PWD/result/bin:$PATH" ./test.py
+ - uses: actions/upload-artifact@v2
+ with:
+ name: debug
+ path: /tmp/debug.tar.xz
diff --git a/test.py b/test.py
@@ -34,5 +34,5 @@ with tempfile.TemporaryDirectory(prefix="test", dir="/tmp") as tempdir:
print("test passed")
else:
print("TEST FAILED: got hash " + repr(h))
- print(subprocess.check_output("tar -Jcf- . | xxd", cwd=tempdir, shell=True))
+ print(subprocess.check_output("tar -Jcf /tmp/debug.tar.xz", cwd=tempdir, shell=True))
exit(1)
\ No newline at end of file