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

attempt to CI the nix tests

parent 038dec8e
No related branches found
No related tags found
1 merge request!1Basic NixOS Private Storage service module
......@@ -15,6 +15,33 @@
version: 2
jobs:
test:
docker:
- image: "nixos/nix:2.2.1"
steps:
- run:
name: "Install CA Certificates"
command: |
# Required for cache and artifact interactions. Though we use a
# nix image, it's actually an alpine base... The CircleCI cache
# management and artifact uploader doesn't know how to use the nix
# ca bundle we could install.
apk update
apk add ca-certificates
- run:
name: "Install Git"
command: |
# Required for the checkout step
nix-env -i git openssh
- "checkout"
- run:
name: "Run Tests"
command: |
nix-build nixos/tests.nix
build:
docker:
- image: "nixos/nix:2.2.1"
......@@ -59,4 +86,5 @@ workflows:
version: 2
everything:
jobs:
- "test"
- "build"
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