Skip to content

Commit

Permalink
automate test and coverage checks
Browse files Browse the repository at this point in the history
  • Loading branch information
nandiniiys authored Sep 23, 2024
1 parent 5baea46 commit 414a667
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/test-and-coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Run Tests and Coverage

on:
pull_request:
branches:
- main
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3.4'

- name: Install dependencies
run: bundle install

- name: Run RSpec tests
run: bundle exec rspec

- name: Run Cucumber tests
run: bundle exec cucumber

0 comments on commit 414a667

Please sign in to comment.