Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cli): make opa test --exit-zero-on-skipped fail with failing test rules #6127

Merged

Commits on Jul 28, 2023

  1. cmd: make opa test -z fail with failing tests

    Fixes the failed logic introduced in [1] to compute the exit code of a
    test run. When used with the option `--exit-zero-on-skipped`, the
    `opa test` command now returns the exit code 0 only if no failed tests
    were found.
    
    [1]: open-policy-agent@54f203c
    
    Fixes: open-policy-agent#6126
    BREAKING-CHANGE
    Signed-off-by: Florian Daguin <[email protected]>
    fdaguin committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    70eaf52 View commit details
    Browse the repository at this point in the history