@@ -4,6 +4,7 @@ on: [push, pull_request]
4
4
5
5
jobs :
6
6
lint :
7
+ name : Linter Tests
7
8
runs-on : ubuntu-18.04
8
9
steps :
9
10
- name : Cancel any previous run(s) on new commit push
@@ -20,32 +21,61 @@ jobs:
20
21
run : bundle exec rake rubocop
21
22
22
23
test-selenium-v3 :
24
+ name : Selenium 3.142.7 Tests
23
25
runs-on : ${{ matrix.os }}
24
26
strategy :
27
+ fail-fast : false
25
28
matrix :
26
29
os : [ubuntu-18.04, macos-10.15, windows-2019]
27
- ruby-version : [2.4, 2.5, 2.6, 2.7, 3.0, jruby]
30
+ env :
31
+ BUNDLE_GEMFILE : gemfiles/Gemfile.cur
28
32
steps :
29
- - name : Cancel any previous run(s) on new commit push
30
- uses : styfle/cancel-workflow-action@0.7.0
31
- with :
32
- access_token : ${{ github.token }}
33
- - uses : actions/checkout@v2
34
- - name : Set up Ruby
35
- uses : ruby/setup-ruby@v1
36
- with :
37
- ruby-version : ${{ matrix.ruby-version }}
38
- bundler-cache : true
39
- - name : Run tests
40
- run : bundle exec rake spec
33
+ - name : Cancel any previous run(s) on new commit push
34
+ uses : styfle/cancel-workflow-action@0.7.0
35
+ with :
36
+ access_token : ${{ github.token }}
37
+ - uses : actions/checkout@v2
38
+ - name : Set up Ruby
39
+ uses : ruby/setup-ruby@v1
40
+ with :
41
+ ruby-version : 2.6
42
+ bundler-cache : true
43
+ - name : Run tests
44
+ run : bundle exec rake spec
45
+
46
+ test-selenium-old :
47
+ name : Selenium 3.142.0 Tests
48
+ runs-on : ${{ matrix.os }}
49
+ strategy :
50
+ fail-fast : false
51
+ matrix :
52
+ os : [ubuntu-18.04, macos-10.15, windows-2019]
53
+ env :
54
+ BUNDLE_GEMFILE : gemfiles/Gemfile.old
55
+ steps :
56
+ - name : Cancel any previous run(s) on new commit push
57
+ uses : styfle/cancel-workflow-action@0.7.0
58
+ with :
59
+ access_token : ${{ github.token }}
60
+ - uses : actions/checkout@v2
61
+ - name : Set up Ruby
62
+ uses : ruby/setup-ruby@v1
63
+ with :
64
+ ruby-version : 2.6
65
+ bundler-cache : true
66
+ - name : Run tests
67
+ run : bundle exec rake spec
41
68
42
69
test-selenium-v4 :
70
+ name : Selenium 4 Tests
43
71
runs-on : ${{ matrix.os }}
44
72
strategy :
73
+ fail-fast : false
45
74
matrix :
46
- os : [macos-10.15, windows-2019]
75
+ os : [ubuntu-18.04, macos-10.15, windows-2019]
76
+ ruby-version : [2.6, 2.7, 3.0, jruby]
47
77
env :
48
- BUNDLE_GEMFILE : gemfiles/Gemfile.edge # Uses Selenium v4 for Edge (Chromium)
78
+ BUNDLE_GEMFILE : gemfiles/Gemfile.new # Uses Selenium v4 for Edge (Chromium)
49
79
steps :
50
80
- name : Cancel any previous run(s) on new commit push
51
81
uses : styfle/cancel-workflow-action@0.7.0
55
85
- name : Set up Ruby
56
86
uses : ruby/setup-ruby@v1
57
87
with :
58
- ruby-version : 2.7
88
+ ruby-version : ${{ matrix.ruby-version }}
59
89
bundler-cache : true
60
90
- name : Link libc++.dylib for msedgedriver
61
91
# Work around for msedgedriver releases, like v86 and v87, that require libc++.dylib to run.
0 commit comments