-
Notifications
You must be signed in to change notification settings - Fork 122
48 lines (48 loc) · 1.29 KB
/
aggregate_root_coverage.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: aggregate_root_coverage
on:
repository_dispatch:
types:
- script
schedule:
- cron: "0 17 * * *"
workflow_dispatch:
push:
paths:
- "aggregate_root/Gemfile.lock"
- ".github/workflows/aggregate_root_coverage.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
pull_request:
types: [opened, reopened]
paths:
- "aggregate_root/Gemfile.lock"
- ".github/workflows/aggregate_root_coverage.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
jobs:
coverage:
runs-on: ubuntu-20.04
timeout-minutes: 120
env:
WORKING_DIRECTORY: aggregate_root
RUBY_VERSION: "${{ matrix.ruby_version }}"
BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}"
strategy:
fail-fast: false
matrix:
include:
- ruby_version: ruby-3.2
bundle_gemfile: Gemfile
steps:
- uses: actions/checkout@v3
- 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
working-directory: ${{ env.WORKING_DIRECTORY }}