Skip to content

Commit

Permalink
Merge pull request #273 from aviaryan/feature/github-ci
Browse files Browse the repository at this point in the history
Use GitHub Actions for running tests
  • Loading branch information
aviaryan committed Oct 21, 2021
2 parents abdbf96 + 9c3c08c commit 13caeb7
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 9 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby

name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
test:

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

steps:
- uses: actions/checkout@v2
- name: Set up Ruby
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
# change this to (see https://github.com/ruby/setup-ruby#versioning):
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Setup Packages
run: gem install awesome_bot
- name: Run tests
run: bash test.sh
9 changes: 0 additions & 9 deletions .travis.yml

This file was deleted.

0 comments on commit 13caeb7

Please sign in to comment.