near/cargo-near

Tracking issue for making CI run faster

miraclx opened this issue · 0 comments

Opening this for visibility.

Current integration tests generate isolated projects with distinct target folders despite compiling ~99% of the same artifacts.

Causing current CI runs to run upwards of an hour.

The following patches reduce the total runtime.

  1. #39, based on #35 which removed the intermediate generation, shares a single target directory for all the integration tests.
  1. #40, which merges right into main, keeping the intermediate generation, also shares a single target directory for all the integration tests.
  1. #42, mix of # 1 and # 2.
  • Results: same as # 1.