(benchmark): Add instructions for how to run the benchmark #5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Ruby Lambda | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
working-directory: ./lambda/ruby | |
bundler-cache: true | |
- name: Install dependencies | |
run: | | |
cd lambda/ruby | |
bundle install | |
- name: Run tests | |
run: | | |
cd lambda/ruby | |
bundle exec rake test |