Skip to content

Commit

Permalink
Merge pull request #3233 from idvoretskyi/gha
Browse files Browse the repository at this point in the history
GitHub Actions build action added
  • Loading branch information
repeatedly committed Feb 15, 2021
2 parents 3191563 + 22fc683 commit 435b304
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: build

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

jobs:
test:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
ruby-version: [2.7, 2.6, 2.5]

steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ martix.ruby-version }}
- name: Install addons
run: sudo apt-get install libgmp3-dev libcap-ng-dev
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rake test TESTOPTS=-v

0 comments on commit 435b304

Please sign in to comment.