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

Build the system tests driver too

parent 971ac6f0
No related branches found
No related tags found
1 merge request!12Fix openssl build issues
...@@ -33,6 +33,27 @@ jobs: ...@@ -33,6 +33,27 @@ jobs:
export NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/$(cat nixpkgs.rev).tar.gz export NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/$(cat nixpkgs.rev).tar.gz
nix-build nixos/unit-tests.nix && cat result nix-build nixos/unit-tests.nix && cat result
system-tests-driver:
# Cannot actually run the system tests on CircleCI but we can build
# everything that makes them up. This by itself can catch a lot of
# problems.
docker:
- image: "nixos/nix:2.2.1"
steps:
- run:
name: "Install Git"
command: |
# Required for the checkout step
nix-env -i git openssh
- "checkout"
- run:
name: "Run Tests"
command: |
export NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/$(cat nixpkgs.rev).tar.gz
nix-build nixos/system-tests.nix -A driver
build: build:
docker: docker:
- image: "nixos/nix:2.2.1" - image: "nixos/nix:2.2.1"
...@@ -71,3 +92,4 @@ workflows: ...@@ -71,3 +92,4 @@ workflows:
jobs: jobs:
- "test" - "test"
- "build" - "build"
- "system-tests-driver"
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