OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

chore: update CI workflows to integrate testing with environment setup

Open Umpire2018 opened this issue 1 year ago • 1 comments

  • Implement reusable workflow setup-environment.yml to configure the test environment on both macOS and Ubuntu.
  • Add back missing test-only-sandbox-on-macos in previous commit.

Umpire2018 avatar May 12 '24 04:05 Umpire2018

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 62.42%. Comparing base (a48b022) to head (ad7385d). Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1733      +/-   ##
==========================================
- Coverage   64.19%   62.42%   -1.78%     
==========================================
  Files          99       99              
  Lines        4064     4064              
==========================================
- Hits         2609     2537      -72     
- Misses       1455     1527      +72     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar May 12 '24 17:05 codecov[bot]

Not sure why the actions are stuck and not getting results.

Run Unit Tests Result

Umpire2018 avatar May 13 '24 14:05 Umpire2018

Actually--maybe it makes sense to keep the sandbox tests in their own CI check? WDYT?

rbren avatar May 13 '24 14:05 rbren

Actually--maybe it makes sense to keep the sandbox tests in their own CI check? WDYT?

Good idea!

Create a new folder ./tests/sandbox to isolate from unit/integration tests, providing cleaner test result output and easier environment setup.

Umpire2018 avatar May 13 '24 14:05 Umpire2018

Actually--maybe it makes sense to keep the sandbox tests in their own CI check? WDYT?

@rbren Done and awaits approval.

Umpire2018 avatar May 13 '24 15:05 Umpire2018

Close this because of can not pass tests.

Umpire2018 avatar May 14 '24 03:05 Umpire2018