File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 35
35
pip install -e .
36
36
- uses : supplypike/setup-bin@v3
37
37
with :
38
- uri : https://github.com/kyverno/kyverno/releases/download/v1.9.0 /kyverno-cli_v1.9.0_linux_x86_64 .tar.gz
38
+ uri : https://github.com/kyverno/kyverno/releases/download/v1.11.3 /kyverno-cli_v1.11.3_linux_x86_64 .tar.gz
39
39
name : kyverno-cli
40
- version : v1.9.0
40
+ version : v1.11.3
41
41
- name : Test with pytest
42
42
run : |
43
43
SKIP_DIFF_TESTS=1 pytest --cov=flux_local --cov-report=term-missing --snapshot-warn-unused
Original file line number Diff line number Diff line change @@ -81,8 +81,7 @@ async def test_validate_fail(path: Path) -> None:
81
81
"""Test applying policies to validate resources."""
82
82
cmd = kustomize .grep ("kind=ConfigMap" , path )
83
83
with pytest .raises (
84
- exceptions .CommandException , match = "require-test-annotation: validation error"
85
- ):
84
+ exceptions .CommandException , match = "fail: 1" ):
86
85
await cmd .validate (TESTDATA_DIR / "policies/fail.yaml" )
87
86
88
87
You can’t perform that action at this time.
0 commit comments