Skip to content

CI: Reduce unnecessary jobs #182

@marcogario

Description

@marcogario

We currently have 3 workflows that run as part of the CI, and they run on both push and pull-request.

All those parallel jobs compete for the same resources. Running them twice means that each push we are running 27x2 -> 54 jobs, filling up the queue.

Proposal

  1. Change pr-checks.yml to be only on push (maybe rename to linting?)
  2. Change codeql.yml to be on push only for main and v1, and pull-request for all.
  3. Change integration-testing to be on pull-request and only on push for main and v1
  4. Ideally sort the jobs in integration-testing from the more likely to fail to the less likely to fail, and make the latter conditional on the former.

This would avoid duplication of jobs without reducing the coverage we get.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions