mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +01:00
Enable JSON schema testing for derivation outputs
I figured out what the problem was: the fragment needs to start with a `/`.
This commit is contained in:
parent
d4c69c7b8f
commit
e3246301a6
1 changed files with 13 additions and 14 deletions
|
|
@ -46,20 +46,19 @@ schemas = [
|
||||||
'simple-derivation.json',
|
'simple-derivation.json',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
# # Not sure how to make subschema work
|
{
|
||||||
# {
|
'stem' : 'derivation',
|
||||||
# 'stem': 'derivation',
|
'schema' : schema_dir / 'derivation-v3.yaml#/$defs/output',
|
||||||
# 'schema': schema_dir / 'derivation-v3.yaml#output',
|
'files' : [
|
||||||
# 'files' : [
|
'output-caFixedFlat.json',
|
||||||
# 'output-caFixedFlat.json',
|
'output-caFixedNAR.json',
|
||||||
# 'output-caFixedNAR.json',
|
'output-caFixedText.json',
|
||||||
# 'output-caFixedText.json',
|
'output-caFloating.json',
|
||||||
# 'output-caFloating.json',
|
'output-deferred.json',
|
||||||
# 'output-deferred.json',
|
'output-impure.json',
|
||||||
# 'output-impure.json',
|
'output-inputAddressed.json',
|
||||||
# 'output-inputAddressed.json',
|
],
|
||||||
# ],
|
},
|
||||||
# },
|
|
||||||
{
|
{
|
||||||
'stem' : 'deriving-path',
|
'stem' : 'deriving-path',
|
||||||
'schema' : schema_dir / 'deriving-path-v1.yaml',
|
'schema' : schema_dir / 'deriving-path-v1.yaml',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue