Skip to content

Commit b2341af

Browse files
committed
Include Ruby 3.2 and 3.3 tests and change run to 10 iterations
1 parent 3c7cb03 commit b2341af

File tree

1 file changed

+28
-4
lines changed

1 file changed

+28
-4
lines changed

.github/workflows/ruby.yml

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Run rake install
2424
run: rake install
2525
- name: Run tests
26-
run: linuxstat.rb 20
26+
run: linuxstat.rb 10
2727

2828
- uses: actions/checkout@v2
2929
- name: Test LinuxStat with Ruby 2.5
@@ -35,7 +35,7 @@ jobs:
3535
- name: Run rake install
3636
run: rake install
3737
- name: Run tests
38-
run: linuxstat.rb 20
38+
run: linuxstat.rb 10
3939

4040
- uses: actions/checkout@v2
4141
- name: Test LinuxStat with Ruby 2.7
@@ -47,7 +47,7 @@ jobs:
4747
- name: Run rake install
4848
run: rake install
4949
- name: Run tests
50-
run: linuxstat.rb 20
50+
run: linuxstat.rb 10
5151

5252
- uses: actions/checkout@v2
5353
- name: Test LinuxStat with Ruby 3.0
@@ -59,4 +59,28 @@ jobs:
5959
- name: Run rake install
6060
run: rake install
6161
- name: Run tests
62-
run: linuxstat.rb 20
62+
run: linuxstat.rb 10
63+
64+
- uses: actions/checkout@v4
65+
- name: Test LinuxStat with Ruby 3.2
66+
uses: ruby/setup-ruby@v1
67+
with:
68+
ruby-version: 3.2
69+
- name: Install dependencies
70+
run: bundle install
71+
- name: Run rake install
72+
run: rake install
73+
- name: Run tests
74+
run: linuxstat.rb 10
75+
76+
- uses: actions/checkout@v4
77+
- name: Test LinuxStat with Ruby 3.3
78+
uses: ruby/setup-ruby@v1
79+
with:
80+
ruby-version: 3.3
81+
- name: Install dependencies
82+
run: bundle install
83+
- name: Run rake install
84+
run: rake install
85+
- name: Run tests
86+
run: linuxstat.rb 10

0 commit comments

Comments
 (0)