Skip to content

Commit 92b49cb

Browse files
committed
Migrate to GitHub actions
1 parent b03c892 commit 92b49cb

2 files changed

Lines changed: 28 additions & 1 deletion

File tree

.github/workflows/tests.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: tests
2+
3+
on: [push, pull_request]
4+
5+
permissions:
6+
contents: read
7+
8+
jobs:
9+
build_and_test:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
ruby-version: ['2.6', '2.7', '3.0']
14+
15+
steps:
16+
- uses: actions/checkout@v3
17+
- uses: ruby/setup-ruby@v1
18+
with:
19+
ruby-version: ${{ matrix.ruby-version }}
20+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
21+
- run: bundle exec rubocop
22+
- run: bundle exec rspec --format documentation
23+
- uses: actions/upload-artifact@v3
24+
with:
25+
name: coverage
26+
path: coverage/
27+
retention-days: 1

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Typesense Ruby Library [![Gem Version](https://badge.fury.io/rb/typesense.svg)](https://badge.fury.io/rb/typesense) [![CircleCI](https://circleci.com/gh/typesense/typesense-ruby.svg?style=shield&circle-token=063f2179925b0b37d540126f6c96f6e1fe23f1b9)](https://circleci.com/gh/typesense/typesense-ruby) [![codecov](https://codecov.io/gh/typesense/typesense-ruby/branch/master/graph/badge.svg)](https://codecov.io/gh/typesense/typesense-ruby)
1+
# Typesense Ruby Library [![Gem Version](https://badge.fury.io/rb/typesense.svg)](https://badge.fury.io/rb/typesense)
22

33

44
Ruby client library for accessing the [Typesense HTTP API](https://github.com/typesense/typesense).

0 commit comments

Comments
 (0)