Skip to content

Commit

Permalink
chore: only run the reaper if the core module is modified
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya committed Nov 7, 2024
1 parent 2352d19 commit ff1a5cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ jobs:
# The job below is a copy of the job above, but with ryuk disabled.
# It's executed in the first stage to avoid concurrency issues.
test-reaper-off:
# the core module is identified by the empty string (the root path)
if: ${{ contains(needs.detect-modules.outputs.modules, '') }}
needs: lint
name: "Test with reaper off"
strategy:
Expand All @@ -85,6 +87,8 @@ jobs:
# The job below is a copy of the job above, but with Docker rootless.
# It's executed in the first stage to avoid concurrency issues.
test-rootless-docker:
# the core module is identified by the empty string (the root path)
if: ${{ contains(needs.detect-modules.outputs.modules, '') }}
needs: lint
name: "Test with Rootless Docker"
strategy:
Expand Down

0 comments on commit ff1a5cf

Please sign in to comment.