Skip to content

ci: run slow go tests concurrently

Administrator requested to merge devx/split-go-test-steps into main

Created by: jhchabran

Context: this is a quick win to improve Go devs QoL regarding their PRs, that we hacked with @asdine this afternoon.

On Go only PRs, the go test step is definitely the longest one, often reaching the 7 minutes mark. By running the slowest tests concurrently, we can bring that number down around 4 minutes and eventually lower.

  • Before: 7m15s
  • After: 3m50s (and we can probably get this number lower)

The coverage will not be impacted as per Codecov's doc.

Regarding the implementation, this is very much a bandage solution as this adds more obscure shell lines.

Merge request reports

Loading