Skip to content

Commit

Permalink
Merge pull request #10 from karniv00l/migrate-tests
Browse files Browse the repository at this point in the history
Migrate tests from Travis to GH Actions
  • Loading branch information
timurkhafizov authored Jul 18, 2022
2 parents a25953a + fd4ecb9 commit e813530
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 8 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/gem-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,13 @@ jobs:
packages: write

steps:
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v3

- name: Set up Ruby
uses: actions/setup-ruby@v1
uses: ruby/setup-ruby@v1
with:
bundler-cache: true

- name: Publish to GitHub Packages
run: |
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Test

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true

- name: Test
run: bundle exec rake
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.6.6
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

0 comments on commit e813530

Please sign in to comment.