From 5774ea89fbda1deec59e5f61b993f0b251635dc4 Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Fri, 2 Jan 2026 12:44:44 -0800 Subject: [PATCH] Add GitHub workflow to run ruby tests --- .github/workflows/test.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..5a73eda --- /dev/null +++ b/.github/workflows/test.yml @@ -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