-
Notifications
You must be signed in to change notification settings - Fork 254
67 lines (62 loc) · 1.51 KB
/
test.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: Test
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
# Enable triggering CI runs manually.
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
ruby:
- '2.7'
- '3.1'
- '3.2'
action_mailer_version:
- 5
- 6
- 7
propshaft:
- false
- true
experimental:
- false
exclude:
- ruby: '3.2'
action_mailer_version: 5
- ruby: '3.1'
action_mailer_version: 5
- action_mailer_version: 5
propshaft: true
- action_mailer_version: 6
propshaft: true
include:
- ruby: head
action_mailer_version: head
propshaft: false
experimental: true
- ruby: head
action_mailer_version: head
propshaft: true
experimental: true
steps:
- uses: actions/checkout@v4
- name: Set env vars
run: |
echo "ACTION_MAILER_VERSION=${{ matrix.action_mailer_version }}" >> $GITHUB_ENV
echo "PROPSHAFT=${{ matrix.propshaft }}" >> $GITHUB_ENV
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake