Skip to content

Commit

Permalink
add pr verification github action
Browse files Browse the repository at this point in the history
  • Loading branch information
cat5inthecradle committed Oct 3, 2024
1 parent df57020 commit 22da276
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/pr-verify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Run Tests

on:
pull_request:
branches:
- main
push:
branches:
- darin/update-aws-sdk

jobs:
# Test on code-dot-org Ruby version
test_3_0_5:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0.5
bundler-cache: true

- name: Run tests
run: rake test

# Test on latest Ruby
test_3_3:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
bundler-cache: true

- name: Run tests
run: rake test

0 comments on commit 22da276

Please sign in to comment.