Skip to content

[Release 4.6.0] Bumping version of httparty to ensure protection from… #34

[Release 4.6.0] Bumping version of httparty to ensure protection from…

[Release 4.6.0] Bumping version of httparty to ensure protection from… #34

Workflow file for this run

name: Ruby-ci
on:
push:
branches:
- master
pull_request:
branches:
- master
env:
ACCOUNT_ID: ${{ secrets.ACCOUNT_ID }}
API_KEY: ${{ secrets.API_KEY }}
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['2.7', '3.1', '3.2', '3.3']
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run tests
run: bundle exec rspec --format RspecJunitFormatter --out test_results/rspec.xml --format progress
run_integration_tests:
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/master' }}
strategy:
matrix:
ruby-version: ['2.7', '3.1', '3.2', '3.3']
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run tests
run: |
bundle exec ruby test_integration_app/main.rb