Skip to content

Commit

Permalink
Add github workflow for Ruby
Browse files Browse the repository at this point in the history
Co-authored-by: Joseph Palermo <joseph.palermo@broadcom.com>
  • Loading branch information
aramprice and jpalermo committed Oct 12, 2024
1 parent 03bdf80 commit e150880
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Run Specs
on: [ push, pull_request ]

jobs:
unit_specs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with: { lfs: true }
- uses: ruby/setup-ruby@v1
with: { working-directory: src/bosh_openstack_cpi/ }
- name: lint-and-test
run: |
bundle install
bundle exec rake rubocop
bundle exec rake spec:unit
working-directory: src/bosh_openstack_cpi/

0 comments on commit e150880

Please sign in to comment.