upload result of tests as artifacts

This commit is contained in:
ibizaman 2025-01-31 20:33:25 +01:00 committed by Pierre Penninckx
parent 71651bdc0e
commit 784f6ee22a
2 changed files with 7 additions and 1 deletions

View file

@ -119,6 +119,12 @@ jobs:
- name: Build
run: |
nix build --print-build-logs --show-trace .#checks.x86_64-linux.${{ matrix.check }}
echo "resultPath=$(nix eval .#checks.x86_64-linux.vm_grocy_basic --raw)" >> $GITHUB_ENV
- name: Upload Build Result
uses: actions/upload-artifact@v4
with:
path: ${{ env.resultPath }}/**/*
overwrite: true
results:
name: Final Results

View file

@ -156,7 +156,7 @@
// (vm_test "contracts-secret" ./test/contracts/secret.nix)
));
# Run nix .#playwright -- show-trace path/to/trace.zip
# Run nix .#playwright -- show-trace $(nix eval .#checks.x86_64-linux.vm_grocy_basic --raw)/trace/0.zip
packages.playwright =
pkgs.callPackage ({ stdenvNoCC, makeWrapper, playwright }: stdenvNoCC.mkDerivation {
name = "playwright";