-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split test and mutate jobs into separate workflows
Consistent with coverage worfklow and should be easier to generate with such differences minimized.
- Loading branch information
1 parent
85fb647
commit 7ee1870
Showing
17 changed files
with
393 additions
and
198 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: aggregate_root_mutate | ||
on: | ||
repository_dispatch: | ||
types: | ||
- script | ||
workflow_dispatch: | ||
push: | ||
paths: | ||
- "aggregate_root/**" | ||
- "rails_event_store/**" | ||
- "ruby_event_store/**" | ||
- "ruby_event_store-active_record/**" | ||
- "ruby_event_store-browser/**" | ||
- "ruby_event_store-rspec/**" | ||
- ".github/workflows/aggregate_root_mutate.yml" | ||
- "support/**" | ||
- "!support/bundler/**" | ||
- "!support/ci/**" | ||
pull_request: | ||
types: [opened, reopened] | ||
paths: | ||
- "aggregate_root/**" | ||
- "rails_event_store/**" | ||
- "ruby_event_store/**" | ||
- "ruby_event_store-active_record/**" | ||
- "ruby_event_store-browser/**" | ||
- "ruby_event_store-rspec/**" | ||
- ".github/workflows/aggregate_root_mutate.yml" | ||
- "support/**" | ||
- "!support/bundler/**" | ||
- "!support/ci/**" | ||
jobs: | ||
mutate: | ||
runs-on: ubuntu-20.04 | ||
env: | ||
WORKING_DIRECTORY: aggregate_root | ||
BUNDLE_GEMFILE: Gemfile | ||
strategy: | ||
fail-fast: false | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- run: test -e ${{ env.BUNDLE_GEMFILE }}.lock | ||
working-directory: ${{ env.WORKING_DIRECTORY }} | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ruby-3.2 | ||
bundler-cache: true | ||
working-directory: ${{ env.WORKING_DIRECTORY }} | ||
- run: make mutate-changes | ||
working-directory: ${{ env.WORKING_DIRECTORY }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: rails_event_store_mutate | ||
on: | ||
repository_dispatch: | ||
types: | ||
- script | ||
workflow_dispatch: | ||
push: | ||
paths: | ||
- "aggregate_root/**" | ||
- "rails_event_store/**" | ||
- "ruby_event_store/**" | ||
- "ruby_event_store-active_record/**" | ||
- "ruby_event_store-browser/**" | ||
- "ruby_event_store-rspec/**" | ||
- ".github/workflows/rails_event_store_mutate.yml" | ||
- "support/**" | ||
- "!support/bundler/**" | ||
- "!support/ci/**" | ||
pull_request: | ||
types: [opened, reopened] | ||
paths: | ||
- "aggregate_root/**" | ||
- "rails_event_store/**" | ||
- "ruby_event_store/**" | ||
- "ruby_event_store-active_record/**" | ||
- "ruby_event_store-browser/**" | ||
- "ruby_event_store-rspec/**" | ||
- ".github/workflows/rails_event_store_mutate.yml" | ||
- "support/**" | ||
- "!support/bundler/**" | ||
- "!support/ci/**" | ||
jobs: | ||
mutate: | ||
runs-on: ubuntu-20.04 | ||
env: | ||
WORKING_DIRECTORY: rails_event_store | ||
BUNDLE_GEMFILE: Gemfile | ||
strategy: | ||
fail-fast: false | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- run: test -e ${{ env.BUNDLE_GEMFILE }}.lock | ||
working-directory: ${{ env.WORKING_DIRECTORY }} | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ruby-3.2 | ||
bundler-cache: true | ||
working-directory: ${{ env.WORKING_DIRECTORY }} | ||
- run: make mutate-changes | ||
working-directory: ${{ env.WORKING_DIRECTORY }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
.github/workflows/ruby_event_store-active_record_mutate.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: ruby_event_store-active_record_mutate | ||
on: | ||
repository_dispatch: | ||
types: | ||
- script | ||
workflow_dispatch: | ||
push: | ||
paths: | ||
- "aggregate_root/**" | ||
- "rails_event_store/**" | ||
- "ruby_event_store/**" | ||
- "ruby_event_store-active_record/**" | ||
- "ruby_event_store-browser/**" | ||
- "ruby_event_store-rspec/**" | ||
- ".github/workflows/ruby_event_store-active_record_mutate.yml" | ||
- "support/**" | ||
- "!support/bundler/**" | ||
- "!support/ci/**" | ||
pull_request: | ||
types: [opened, reopened] | ||
paths: | ||
- "aggregate_root/**" | ||
- "rails_event_store/**" | ||
- "ruby_event_store/**" | ||
- "ruby_event_store-active_record/**" | ||
- "ruby_event_store-browser/**" | ||
- "ruby_event_store-rspec/**" | ||
- ".github/workflows/ruby_event_store-active_record_mutate.yml" | ||
- "support/**" | ||
- "!support/bundler/**" | ||
- "!support/ci/**" | ||
jobs: | ||
mutate: | ||
runs-on: ubuntu-20.04 | ||
env: | ||
WORKING_DIRECTORY: ruby_event_store-active_record | ||
BUNDLE_GEMFILE: Gemfile | ||
strategy: | ||
fail-fast: false | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- run: test -e ${{ env.BUNDLE_GEMFILE }}.lock | ||
working-directory: ${{ env.WORKING_DIRECTORY }} | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ruby-3.2 | ||
bundler-cache: true | ||
working-directory: ${{ env.WORKING_DIRECTORY }} | ||
- run: make mutate-changes | ||
working-directory: ${{ env.WORKING_DIRECTORY }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: ruby_event_store-browser_mutate | ||
on: | ||
repository_dispatch: | ||
types: | ||
- script | ||
workflow_dispatch: | ||
push: | ||
paths: | ||
- "aggregate_root/**" | ||
- "rails_event_store/**" | ||
- "ruby_event_store/**" | ||
- "ruby_event_store-active_record/**" | ||
- "ruby_event_store-browser/**" | ||
- "ruby_event_store-rspec/**" | ||
- ".github/workflows/ruby_event_store-browser_mutate.yml" | ||
- "support/**" | ||
- "!support/bundler/**" | ||
- "!support/ci/**" | ||
pull_request: | ||
types: [opened, reopened] | ||
paths: | ||
- "aggregate_root/**" | ||
- "rails_event_store/**" | ||
- "ruby_event_store/**" | ||
- "ruby_event_store-active_record/**" | ||
- "ruby_event_store-browser/**" | ||
- "ruby_event_store-rspec/**" | ||
- ".github/workflows/ruby_event_store-browser_mutate.yml" | ||
- "support/**" | ||
- "!support/bundler/**" | ||
- "!support/ci/**" | ||
jobs: | ||
mutate: | ||
runs-on: ubuntu-20.04 | ||
env: | ||
WORKING_DIRECTORY: ruby_event_store-browser | ||
BUNDLE_GEMFILE: Gemfile | ||
strategy: | ||
fail-fast: false | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- run: test -e ${{ env.BUNDLE_GEMFILE }}.lock | ||
working-directory: ${{ env.WORKING_DIRECTORY }} | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ruby-3.2 | ||
bundler-cache: true | ||
working-directory: ${{ env.WORKING_DIRECTORY }} | ||
- run: make mutate-changes | ||
working-directory: ${{ env.WORKING_DIRECTORY }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: ruby_event_store-rspec_mutate | ||
on: | ||
repository_dispatch: | ||
types: | ||
- script | ||
workflow_dispatch: | ||
push: | ||
paths: | ||
- "aggregate_root/**" | ||
- "rails_event_store/**" | ||
- "ruby_event_store/**" | ||
- "ruby_event_store-active_record/**" | ||
- "ruby_event_store-browser/**" | ||
- "ruby_event_store-rspec/**" | ||
- ".github/workflows/ruby_event_store-rspec_mutate.yml" | ||
- "support/**" | ||
- "!support/bundler/**" | ||
- "!support/ci/**" | ||
pull_request: | ||
types: [opened, reopened] | ||
paths: | ||
- "aggregate_root/**" | ||
- "rails_event_store/**" | ||
- "ruby_event_store/**" | ||
- "ruby_event_store-active_record/**" | ||
- "ruby_event_store-browser/**" | ||
- "ruby_event_store-rspec/**" | ||
- ".github/workflows/ruby_event_store-rspec_mutate.yml" | ||
- "support/**" | ||
- "!support/bundler/**" | ||
- "!support/ci/**" | ||
jobs: | ||
mutate: | ||
runs-on: ubuntu-20.04 | ||
env: | ||
WORKING_DIRECTORY: ruby_event_store-rspec | ||
BUNDLE_GEMFILE: Gemfile | ||
strategy: | ||
fail-fast: false | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- run: test -e ${{ env.BUNDLE_GEMFILE }}.lock | ||
working-directory: ${{ env.WORKING_DIRECTORY }} | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ruby-3.2 | ||
bundler-cache: true | ||
working-directory: ${{ env.WORKING_DIRECTORY }} | ||
- run: make mutate-changes | ||
working-directory: ${{ env.WORKING_DIRECTORY }} |
Oops, something went wrong.