Skip to content
Snippets Groups Projects
Commit 8f9bb8a5 authored by Tom Prince's avatar Tom Prince
Browse files

Restore (now trivial) ci parameterization.

parent 762f053f
No related branches found
No related tags found
1 merge request!239Switch to using mach-nix for python packaging.
...@@ -135,6 +135,14 @@ jobs: ...@@ -135,6 +135,14 @@ jobs:
ZKAPAUTHORIZER_HYPOTHESIS_PROFILE: "ci" ZKAPAUTHORIZER_HYPOTHESIS_PROFILE: "ci"
linux-tests: &LINUX_TESTS linux-tests: &LINUX_TESTS
parameters:
tahoe-lafs-source:
# The name of a niv source in nix/sources.json which corresponds to
# a Tahoe-LAFS version. This is the version that will be declared as a
# dependency of the Nix package of ZKAPAuthorizer (and therefore used
# in the test run and pulled in should you install this package).
type: "string"
docker: docker:
# Run in a highly Nix-capable environment. # Run in a highly Nix-capable environment.
- image: "nixos/nix:latest" - image: "nixos/nix:latest"
...@@ -182,6 +190,8 @@ jobs: ...@@ -182,6 +190,8 @@ jobs:
nix-build tests.nix \ nix-build tests.nix \
--argstr hypothesisProfile ci \ --argstr hypothesisProfile ci \
--arg collectCoverage true \ --arg collectCoverage true \
--argstr tahoe-lafs-source << parameters.tahoe-lafs-source >> \
--attr doc
- run: - run:
name: "Push to Cachix" name: "Push to Cachix"
...@@ -212,7 +222,12 @@ workflows: ...@@ -212,7 +222,12 @@ workflows:
everything: everything:
jobs: jobs:
- "documentation" - "documentation"
- "linux-tests" - "linux-tests":
matrix:
parameters:
tahoe-lafs-source:
- "tahoe-lafs"
- "macos-tests": - "macos-tests":
matrix: matrix:
parameters: parameters:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment