Skip to content

Commit

Permalink
Github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
blacksmith-welder committed Aug 27, 2024
1 parent 705b6e1 commit c73966c
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/cucumber-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Cucumber Tests
on: push

jobs:
cucumber:
name: Run Cucmber Tests
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2.0'
- name: Cache gems # You can cache your gems to make the workflow run faster
uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Install gems
run: |
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Run tests
run: bundle exec cucumber

0 comments on commit c73966c

Please sign in to comment.