Skip to content

Commit

Permalink
docs: describe breaking changes introduced by #6126 (squash before me…
Browse files Browse the repository at this point in the history
…rge)

Signed-off-by: Florian Daguin <[email protected]>
  • Loading branch information
fdaguin committed Jul 28, 2023
1 parent afddd69 commit 56019a7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ project adheres to [Semantic Versioning](http://semver.org/).

## Unreleased

### Breaking changes

Since its introduction in 0.34.0, the `--exit-zero-on-skipped` option always made the `opa test` command return an exit code 0. When used, it now returns the exit code 0 only if no failed tests were found.

Test runs on existing projects using `--exit-zero-on-skipped` will fail if any failed tests were inhibited by this behavior.

### Tooling, SDK, and Runtime

- `opa test`: Fix `--exit-zero-on-skipped` behavior to make test runs fail with failing test rules ([#6126](https://github.com/open-policy-agent/opa/issues/6126)) reported and authored by @fdaguin

## 0.55.0

> **_NOTES:_**
Expand Down

0 comments on commit 56019a7

Please sign in to comment.