Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance LSP Testing Strategy for Better Reliability (#5764)
## Description This PR refines our testing approach for `sway-lsp` to ensure tests run sequentially, addressing potential async test interference. Key enhancements include: - Implemented a `run_async` macro to facilitate running async tests within a synchronous environment, minimizing the boilerplate code and improving test readability. - Updated the GitHub Actions workflow to include a dedicated job for `sway-lsp`, utilizing `-p sway-lsp -- --test-threads=1` to enforce sequential execution of tests. This removes LSP tests from the `cargo-test-workspace` job.
- Loading branch information