upload result of tests as artifacts
This commit is contained in:
parent
71651bdc0e
commit
784f6ee22a
2 changed files with 7 additions and 1 deletions
6
.github/workflows/build.yaml
vendored
6
.github/workflows/build.yaml
vendored
|
|
@ -119,6 +119,12 @@ jobs:
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
nix build --print-build-logs --show-trace .#checks.x86_64-linux.${{ matrix.check }}
|
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:
|
results:
|
||||||
name: Final Results
|
name: Final Results
|
||||||
|
|
|
||||||
|
|
@ -156,7 +156,7 @@
|
||||||
// (vm_test "contracts-secret" ./test/contracts/secret.nix)
|
// (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 =
|
packages.playwright =
|
||||||
pkgs.callPackage ({ stdenvNoCC, makeWrapper, playwright }: stdenvNoCC.mkDerivation {
|
pkgs.callPackage ({ stdenvNoCC, makeWrapper, playwright }: stdenvNoCC.mkDerivation {
|
||||||
name = "playwright";
|
name = "playwright";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue