Skip to content

Commit

Permalink
Generate paths from CI script to further reduce needed templates
Browse files Browse the repository at this point in the history
  • Loading branch information
mostlyobvious committed Sep 10, 2023
1 parent 6cb548d commit d5ccc74
Show file tree
Hide file tree
Showing 58 changed files with 479 additions and 565 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/aggregate_root_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ on:
workflow_dispatch:
push:
paths:
- "aggregate_root/Gemfile.lock"
- aggregate_root/Gemfile.lock
- ".github/workflows/aggregate_root_coverage.yml"
- "support/**"
- support/**
- "!support/bundler/**"
- "!support/ci/**"
pull_request:
types: [opened, reopened]
paths:
- "aggregate_root/Gemfile.lock"
- aggregate_root/Gemfile.lock
- ".github/workflows/aggregate_root_coverage.yml"
- "support/**"
- support/**
- "!support/bundler/**"
- "!support/ci/**"
jobs:
Expand Down
30 changes: 16 additions & 14 deletions .github/workflows/aggregate_root_mutate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,27 @@ on:
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/**"
- 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/**
- "!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/**"
- 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/**
- "!support/bundler/**"
- "!support/ci/**"
jobs:
Expand All @@ -36,6 +36,8 @@ jobs:
WORKING_DIRECTORY: aggregate_root
RUBY_VERSION: "${{ matrix.ruby_version }}"
BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}"
services:

strategy:
fail-fast: false
matrix:
Expand Down
30 changes: 16 additions & 14 deletions .github/workflows/aggregate_root_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,27 @@ on:
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/**"
- 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_test.yml"
- "support/**"
- 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/**"
- 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_test.yml"
- "support/**"
- support/**
- "!support/bundler/**"
- "!support/ci/**"
jobs:
Expand All @@ -36,6 +36,8 @@ jobs:
WORKING_DIRECTORY: aggregate_root
RUBY_VERSION: "${{ matrix.ruby_version }}"
BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}"
services:

strategy:
fail-fast: false
matrix:
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/dres_client_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ on:
workflow_dispatch:
push:
paths:
- "contrib/dres_client/**"
- "contrib/dres_rails/**"
- contrib/dres_client/**
- contrib/dres_rails/**
- ".github/workflows/dres_client_test.yml"
- "support/**"
- support/**
- "!support/bundler/**"
- "!support/ci/**"
pull_request:
types: [opened, reopened]
paths:
- "contrib/dres_client/**"
- "contrib/dres_rails/**"
- contrib/dres_client/**
- contrib/dres_rails/**
- ".github/workflows/dres_client_test.yml"
- "support/**"
- support/**
- "!support/bundler/**"
- "!support/ci/**"
jobs:
Expand All @@ -28,6 +28,8 @@ jobs:
WORKING_DIRECTORY: contrib/dres_client
RUBY_VERSION: "${{ matrix.ruby_version }}"
BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}"
services:

strategy:
fail-fast: false
matrix:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/dres_rails_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ on:
workflow_dispatch:
push:
paths:
- "contrib/dres_client/**"
- "contrib/dres_rails/**"
- contrib/dres_client/**
- contrib/dres_rails/**
- ".github/workflows/dres_rails_test.yml"
- "support/**"
- support/**
- "!support/bundler/**"
- "!support/ci/**"
pull_request:
types: [opened, reopened]
paths:
- "contrib/dres_rails/**"
- "contrib/dres_client/**"
- contrib/dres_client/**
- contrib/dres_rails/**
- ".github/workflows/dres_rails_test.yml"
- "support/**"
- support/**
- "!support/bundler/**"
- "!support/ci/**"
jobs:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/minitest-ruby_event_store_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ on:
workflow_dispatch:
push:
paths:
- "contrib/minitest-ruby_event_store/Gemfile.lock"
- contrib/minitest-ruby_event_store/Gemfile.lock
- ".github/workflows/minitest-ruby_event_store_coverage.yml"
- "support/**"
- support/**
- "!support/bundler/**"
- "!support/ci/**"
pull_request:
types: [opened, reopened]
paths:
- "contrib/minitest-ruby_event_store/Gemfile.lock"
- contrib/minitest-ruby_event_store/Gemfile.lock
- ".github/workflows/minitest-ruby_event_store_coverage.yml"
- "support/**"
- support/**
- "!support/bundler/**"
- "!support/ci/**"
jobs:
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/minitest-ruby_event_store_mutate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ on:
workflow_dispatch:
push:
paths:
- "contrib/minitest-ruby_event_store/**"
- contrib/minitest-ruby_event_store/**
- ".github/workflows/minitest-ruby_event_store_mutate.yml"
- "support/**"
- support/**
- "!support/bundler/**"
- "!support/ci/**"
pull_request:
types: [opened, reopened]
paths:
- "contrib/minitest-ruby_event_store/**"
- contrib/minitest-ruby_event_store/**
- ".github/workflows/minitest-ruby_event_store_mutate.yml"
- "support/**"
- support/**
- "!support/bundler/**"
- "!support/ci/**"
jobs:
Expand All @@ -26,6 +26,8 @@ jobs:
WORKING_DIRECTORY: contrib/minitest-ruby_event_store
RUBY_VERSION: "${{ matrix.ruby_version }}"
BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}"
services:

strategy:
fail-fast: false
matrix:
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/minitest-ruby_event_store_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ on:
workflow_dispatch:
push:
paths:
- "contrib/minitest-ruby_event_store/**"
- contrib/minitest-ruby_event_store/**
- ".github/workflows/minitest-ruby_event_store_test.yml"
- "support/**"
- support/**
- "!support/bundler/**"
- "!support/ci/**"
pull_request:
types: [opened, reopened]
paths:
- "contrib/minitest-ruby_event_store/**"
- contrib/minitest-ruby_event_store/**
- ".github/workflows/minitest-ruby_event_store_test.yml"
- "support/**"
- support/**
- "!support/bundler/**"
- "!support/ci/**"
jobs:
Expand All @@ -26,6 +26,8 @@ jobs:
WORKING_DIRECTORY: contrib/minitest-ruby_event_store
RUBY_VERSION: "${{ matrix.ruby_version }}"
BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}"
services:

strategy:
fail-fast: false
matrix:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/rails_event_store_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ on:
workflow_dispatch:
push:
paths:
- "rails_event_store/Gemfile.lock"
- rails_event_store/Gemfile.lock
- ".github/workflows/rails_event_store_coverage.yml"
- "support/**"
- support/**
- "!support/bundler/**"
- "!support/ci/**"
pull_request:
types: [opened, reopened]
paths:
- "rails_event_store/Gemfile.lock"
- rails_event_store/Gemfile.lock
- ".github/workflows/rails_event_store_coverage.yml"
- "support/**"
- support/**
- "!support/bundler/**"
- "!support/ci/**"
jobs:
Expand Down
30 changes: 16 additions & 14 deletions .github/workflows/rails_event_store_mutate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,27 @@ on:
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/**"
- 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/**
- "!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/**"
- 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/**
- "!support/bundler/**"
- "!support/ci/**"
jobs:
Expand All @@ -36,6 +36,8 @@ jobs:
WORKING_DIRECTORY: rails_event_store
RUBY_VERSION: "${{ matrix.ruby_version }}"
BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}"
services:

strategy:
fail-fast: false
matrix:
Expand Down
30 changes: 16 additions & 14 deletions .github/workflows/rails_event_store_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,27 @@ on:
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/**"
- 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_test.yml"
- "support/**"
- 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/**"
- 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_test.yml"
- "support/**"
- support/**
- "!support/bundler/**"
- "!support/ci/**"
jobs:
Expand All @@ -36,6 +36,8 @@ jobs:
WORKING_DIRECTORY: rails_event_store
RUBY_VERSION: "${{ matrix.ruby_version }}"
BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}"
services:

strategy:
fail-fast: false
matrix:
Expand Down
Loading

0 comments on commit d5ccc74

Please sign in to comment.