Skip to content

Commit

Permalink
Run image building in parallel with tox tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea committed Sep 17, 2024
1 parent a696a72 commit c5a4f14
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ jobs:
build-image:
runs-on: ${{ matrix.builder }}
name: ${{ matrix.name }}
needs: tox
# commented to speedup execution
# needs: tox
services:
registry:
image: registry:2
Expand Down Expand Up @@ -64,7 +65,9 @@ jobs:
publish-image:
environment: release # approval
runs-on: ubuntu-latest
needs: build-image
needs:
- build-image
- tox
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- name: Check out repository
Expand Down

0 comments on commit c5a4f14

Please sign in to comment.