Skip to content

Commit

Permalink
Cirrus: Run int. tests in parallel with unit
Browse files Browse the repository at this point in the history
This is somewhat of a band-aid since these two tasks take 45+ minutes
each.  Running them in parallel improves the overall runtime when
tests are otherwise/generally passing.  If/when unit tests fail, the
status won't update until integration tasks complete, but the failure
will be immediately observable in a PR.  So it's a minor price to pay
for improved runtime in the general case.

Signed-off-by: Chris Evich <cevich@redhat.com>
  • Loading branch information
cevich committed Jan 10, 2022
1 parent 36995bc commit ad8c2c3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,8 @@ integration_task:
alias: integration
only_if: *not_docs
depends_on:
- unit
- smoke
- vendor

matrix:
# VFS
Expand Down Expand Up @@ -259,7 +260,8 @@ in_podman_task:
alias: in_podman
only_if: *not_docs
depends_on:
- unit
- smoke
- vendor

env:
# This is key, cause the scripts to re-execute themselves inside a container.
Expand Down

0 comments on commit ad8c2c3

Please sign in to comment.