From 22da27699178cba5ee9fa5ee8f4b8d5bc4d27ede Mon Sep 17 00:00:00 2001 From: Darin Webb Date: Wed, 2 Oct 2024 22:48:42 -0500 Subject: [PATCH] add pr verification github action --- .github/workflows/pr-verify.yml | 44 +++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .github/workflows/pr-verify.yml diff --git a/.github/workflows/pr-verify.yml b/.github/workflows/pr-verify.yml new file mode 100644 index 0000000..e010b50 --- /dev/null +++ b/.github/workflows/pr-verify.yml @@ -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 \ No newline at end of file