Skip to content

Commit

Permalink
Add action for Ruby tests (google#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
echeran committed May 28, 2021
1 parent 8b65741 commit 7f4583c
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/mynmr_tools_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,36 @@ jobs:
cd clients/java
mvn compile
mvn test
# Ruby Client (minimum Ruby version)
ruby-min-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.0 # minimum supported version
- name: Run Rake tests
run: |
pushd clients/ruby
bundle install
rake test
popd
# Ruby Client (latest Ruby version with jruby)
ruby-latest-jruby:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: jruby-head
- name: Run Rake tests
run: |
pushd clients/ruby
bundle install
rake test
popd
# PHP Client (minimum PHP version)
php-min-version:
Expand Down

0 comments on commit 7f4583c

Please sign in to comment.