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 <[email protected]>
  • Loading branch information
aramprice and jpalermo committed Oct 3, 2024
1 parent d9ded5b commit 7017a0a
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 7017a0a

Please sign in to comment.