Skip to content

Commit 22da276

Browse files
add pr verification github action
1 parent df57020 commit 22da276

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

.github/workflows/pr-verify.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Run Tests
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
push:
8+
branches:
9+
- darin/update-aws-sdk
10+
11+
jobs:
12+
# Test on code-dot-org Ruby version
13+
test_3_0_5:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v3
19+
20+
- name: Set up Ruby
21+
uses: ruby/setup-ruby@v1
22+
with:
23+
ruby-version: 3.0.5
24+
bundler-cache: true
25+
26+
- name: Run tests
27+
run: rake test
28+
29+
# Test on latest Ruby
30+
test_3_3:
31+
runs-on: ubuntu-latest
32+
33+
steps:
34+
- name: Checkout code
35+
uses: actions/checkout@v3
36+
37+
- name: Set up Ruby
38+
uses: ruby/setup-ruby@v1
39+
with:
40+
ruby-version: 3.3
41+
bundler-cache: true
42+
43+
- name: Run tests
44+
run: rake test

0 commit comments

Comments
 (0)