Skip to content

Commit

Permalink
feat(ci): run tests in Github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekStride authored Jun 28, 2024
1 parent 81bbe89 commit e112274
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Ruby

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

permissions:
contents: read

jobs:
test:

runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['3.0']

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: Install SQL Parser
run: bundle exec rake treesitter:install
- name: Run tests
run: bundle exec rake test

0 comments on commit e112274

Please sign in to comment.