Skip to content

Update the test matrix and actions/checkout #32

Update the test matrix and actions/checkout

Update the test matrix and actions/checkout #32

Workflow file for this run

name: Test
on:
push:
branches: [ main ]
pull_request:
branches: ["**"]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: [ "3.2", "3.3" ]
env:
NOTIFY_APP_NAME: "ChatNotifier"
NOTIFY_SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
NOTIFY_SLACK_NOTIFY_CHANNEL: "oss-notices"
NOTIFY_CURRENT_REPOSITORY_URL: "${{ github.server_url }}/${{ github.repository }}"
NOTIFY_TEST_RUN_ID: "${{ github.run_id }}"
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
name: Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Install dependencies
run: bundle install --jobs 4 --retry 3
- name: Run tests
run: bundle exec rake
- name: SimpleCov+ Action
uses: joshmfrankel/[email protected]
with:
check_job_name: "Coverage"
github_token: ${{ secrets.GITHUB_TOKEN }}