Skip to content

Commit 5a0e086

Browse files
committed
Update trigger for pricing* and rails_application* workflows:
- regular tests run always - incremental mutation tests run always - full mutation (coverage) tests run for workflow file changes, Gemfile.lock changes or push to master branch + scheduled
1 parent 3055d63 commit 5a0e086

File tree

6 files changed

+8
-29
lines changed

6 files changed

+8
-29
lines changed

.github/workflows/pricing-coverage.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ on:
1010
paths:
1111
- "ecommerce/pricing/Gemfile.lock"
1212
- ".github/workflows/pricing-coverage.yml"
13-
pull_request:
14-
types: [opened, synchronize, reopened]
15-
paths:
16-
- "ecommerce/pricing/Gemfile.lock"
17-
- ".github/workflows/pricing-coverage.yml"
1813
schedule:
1914
- cron: '0 17 * * *'
2015
jobs:

.github/workflows/pricing-mutate.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
name: pricing-mutate
22
on:
3+
push:
34
pull_request:
4-
types: [opened, synchronize, reopened]
5-
paths:
6-
- "ecommerce/pricing/**"
7-
- ".github/workflows/pricing-mutate.yml"
5+
types: [opened, reopened]
86
jobs:
97
test:
108
runs-on: ubuntu-24.04

.github/workflows/pricing.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
name: pricing
22
on:
3+
push:
34
pull_request:
4-
types: [opened, synchronize, reopened]
5-
paths:
6-
- "ecommerce/pricing/**"
7-
- ".github/workflows/pricing.yml"
5+
types: [opened, reopened]
86
workflow_dispatch:
97
jobs:
108
test:

.github/workflows/rails_application-coverage.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ on:
1010
paths:
1111
- "rails_application/Gemfile.lock"
1212
- ".github/workflows/rails_application-coverage.yml"
13-
pull_request:
14-
types: [opened, synchronize, reopened]
15-
paths:
16-
- "rails_application/Gemfile.lock"
17-
- ".github/workflows/rails_application-coverage.yml"
1813
schedule:
1914
- cron: '0 17 * * *'
2015
jobs:

.github/workflows/rails_application-mutate.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
name: rails_application-mutate
22
on:
3+
push:
34
pull_request:
4-
types: [opened, synchronize, reopened]
5-
paths:
6-
- "rails_application/**"
7-
- ".github/workflows/rails_application-mutate.yml"
5+
types: [opened, reopened]
86
jobs:
97
test:
108
runs-on: ubuntu-24.04

.github/workflows/rails_application.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
name: rails_application
22
on:
3-
pull_request:
4-
types: [opened, synchronize, reopened]
5-
paths:
6-
- "rails_application/**"
7-
- ".github/workflows/rails_application.yml"
83
push:
9-
branches:
10-
- master
4+
pull_request:
5+
types: [opened, reopened]
116
jobs:
127
test:
138
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)