Fix ArgumentError after invoking setter #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: tests | |
| on: [push, pull_request_target] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| ruby: | |
| - '3.3' | |
| - '3.4' | |
| - '4.0' | |
| active_support: | |
| - 'active_support_8.1.x' | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v1 | |
| - name: Setup Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| - name: Bundle | |
| env: | |
| ACTIVE_SUPPORT_VERSION: ${{ matrix.active_support }} | |
| run: | | |
| export BUNDLE_GEMFILE="${GITHUB_WORKSPACE}/gemfiles/${ACTIVE_SUPPORT_VERSION}.gemfile" | |
| gem install bundler | |
| bundle install --jobs 4 --retry 3 | |
| - name: Test | |
| env: | |
| HUBSPOT_PORTAL_ID: ${{ secrets.HUBSPOT_PORTAL_ID }} | |
| HUBSPOT_HAPI_KEY: ${{ secrets.HUBSPOT_HAPI_KEY }} | |
| HUBSPOT_ACCESS_TOKEN: ${{ secrets.HUBSPOT_ACCESS_TOKEN }} | |
| run: RUBYOPT='-W:deprecated' bundle exec rspec |