@@ -19,16 +19,23 @@ jobs:
19
19
20
20
env :
21
21
HTML5_PARSING : true
22
+
23
+ strategy :
24
+ fail-fast : false
25
+ matrix :
26
+ ruby : ["2.7", "3.0", "3.1", "3.2"]
27
+ task : ["rack_smoke", "cucumber"]
28
+
22
29
steps :
23
30
- uses : actions/checkout@v3
24
31
25
32
- name : Set up Ruby
26
33
uses : ruby/setup-ruby@v1
27
34
with :
28
- ruby-version : " 3.0 "
35
+ ruby-version : ${{ matrix.ruby }}
29
36
bundler-cache : true
30
- - name : Run rack_smoke
31
- run : bundle exec rake rack_smoke
37
+ - name : Run smoke tests
38
+ run : bundle exec rake ${{ matrix.task }}
32
39
33
40
headless :
34
41
runs-on : ubuntu-latest
40
47
# Ensure all jobs are run to completion
41
48
fail-fast : false
42
49
matrix :
43
- ruby : ["3.0 "]
44
- task : ["spec_chrome", "spec_firefox", "cucumber" ]
50
+ ruby : ["3.2 "]
51
+ task : ["spec_chrome", "spec_firefox"]
45
52
46
53
steps :
47
54
- uses : actions/checkout@v3
66
73
fail-fast : false
67
74
matrix :
68
75
ruby : ["2.7.0"]
69
- task : ["spec_chrome", "spec_firefox", "cucumber" ]
76
+ task : ["spec_chrome", "spec_firefox"]
70
77
71
78
steps :
72
79
- uses : actions/checkout@v3
@@ -102,8 +109,6 @@ jobs:
102
109
run : docker-compose up -d selenium_chrome
103
110
- name : Run specs
104
111
run : bundle exec rake spec_chrome_remote
105
- - name : Run cukes
106
- run : bundle exec rake cucumber
107
112
108
113
remote_firefox :
109
114
runs-on : ubuntu-latest
@@ -124,8 +129,6 @@ jobs:
124
129
run : docker-compose up -d selenium_firefox
125
130
- name : Run specs
126
131
run : bundle exec rake spec_firefox_remote
127
- - name : Run cukes
128
- run : bundle exec rake cucumber
129
132
130
133
non_headless :
131
134
runs-on : ubuntu-latest
@@ -135,7 +138,7 @@ jobs:
135
138
fail-fast : false
136
139
matrix :
137
140
ruby : ["3.0"]
138
- task : ["spec_chrome", "spec_firefox", "cucumber" ]
141
+ task : ["spec_chrome", "spec_firefox"]
139
142
140
143
steps :
141
144
- uses : actions/checkout@v3
0 commit comments