Skip to content
Snippets Groups Projects
Commit 0360c2cd authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

Save cache before running the test suite

This way we get the cache even if the test suite fails
parent aa20de7d
No related branches found
No related tags found
1 merge request!196Remove the bundled Tahoe-LAFS and just require it as a param or nixpkgs attr
...@@ -206,6 +206,12 @@ jobs: ...@@ -206,6 +206,12 @@ jobs:
--arg callPackage '(import <nixpkgs> { }).callPackage' \ --arg callPackage '(import <nixpkgs> { }).callPackage' \
./python-challenge-bypass-ristretto.nix ./python-challenge-bypass-ristretto.nix
- save_cache:
name: "Cache Nix Store Paths"
key: zkapauthorizer-nix-store-v4-{{ checksum "nixpkgs.rev" }}
paths:
- "/nix"
- run: - run:
name: "Run Test Suite" name: "Run Test Suite"
command: | command: |
...@@ -221,12 +227,6 @@ jobs: ...@@ -221,12 +227,6 @@ jobs:
# where the coverage data ends up. # where the coverage data ends up.
nix-build --cores 8 --argstr hypothesisProfile ci --arg collectCoverage true --attr doc nix-build --cores 8 --argstr hypothesisProfile ci --arg collectCoverage true --attr doc
- save_cache:
name: "Cache Nix Store Paths"
key: zkapauthorizer-nix-store-v4-{{ checksum "nixpkgs.rev" }}
paths:
- "/nix"
- run: - run:
name: "Report Coverage" name: "Report Coverage"
command: | command: |
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment