Add GitHub workflow to run ruby tests

This commit is contained in:
Sami Samhuri 2026-01-02 12:44:44 -08:00
parent f9e7dfe144
commit 5774ea89fb
No known key found for this signature in database

27
.github/workflows/test.yml vendored Normal file
View file

@ -0,0 +1,27 @@
name: Test
on:
push:
branches:
- main
pull_request:
jobs:
ruby:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ruby
steps:
- uses: actions/checkout@v6
- name: Set up Ruby
uses: ruby/setup-ruby@v1
env:
BUNDLE_GEMFILE: ruby/Gemfile
with:
ruby-version: 4.0.0
bundler-cache: true
- name: Run tests
run: bundle exec rake test
- name: Run standard
run: bundle exec rake standard