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

try caching codecov and its deps too

parent 1ef11775
No related branches found
No related tags found
1 merge request!39Test with Nix instead
......@@ -125,6 +125,16 @@ jobs:
# where the coverage data ends up.
nix-build --argstr hypothesisProfile ci --arg collectCoverage true --attr doc
- run:
name: "Cache codecov"
command: |
# Build codecov and any dependencies here, before we save the
# cache, so that they make it in to the cache too. Turns out
# there is a python-cryptography dependency here that is expensive
# to build that doesn't get built earlier. This saves us a couple
# minutes.
nix-build --expr '(import <nixpkgs> { }).python.withPackages (ps: [ ps.codecov ])'
- save_cache:
name: "Cache Nix Store Paths"
key: zkapauthorizer-nix-store-v1-{{ checksum "nixpkgs.rev" }}
......
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