Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,21 @@ solve!(prob; max_iter=100)
- **Modular objectives**: Combine multiple cost terms (regularization, minimum time, etc.)
- **Constraint support**: Bounds, equality, and general nonlinear constraints
- **Automatic differentiation**: Efficient gradients and Hessians
- **Sparse formulations**: Exploits problem structure for efficiency
- **Sparse formulations**: Exploits problem structure for efficiency

## Testing

To run all stable tests:
```bash
julia --project=. test/runtests.jl
```

To include experimental tests (tests marked as potentially flaky):
```bash
INCLUDE_EXPERIMENTAL=1 julia --project=. test/runtests.jl
```

Some tests are tagged as `experimental` because they may be unstable or flaky in certain environments. By default, these tests are excluded from CI runs to maintain build stability.


### Building Documentation
Expand Down
2 changes: 1 addition & 1 deletion src/constraints/linear/time_consistency_constraint.jl
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ end
end
end

@testitem "TimeConsistencyConstraint with free time optimization" begin
@testitem "TimeConsistencyConstraint with free time optimization" tags=[:experimental] begin
include("../../../test/test_utils.jl")
using NamedTrajectories

Expand Down
7 changes: 6 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,9 @@ using TestItemRunner


# Run all testitem tests in package
@run_package_tests
# Filter out experimental tests unless INCLUDE_EXPERIMENTAL environment variable is set
if !haskey(ENV, "INCLUDE_EXPERIMENTAL")
@run_package_tests filter=ti -> !(:experimental in get(ti, :tags, []))
else
@run_package_tests
end