Skip to content

Commit

Permalink
upload result of tests as artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
ibizaman authored and ibizaman committed Jan 31, 2025
1 parent 71651bd commit 784f6ee
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 784f6ee

Please sign in to comment.