Skip to content

[CMB-501] fix unit test call #78

[CMB-501] fix unit test call

[CMB-501] fix unit test call #78

Workflow file for this run

name: Run Tests
on:
workflow_dispatch:
push:
jobs:
ruby_tests:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ["3.0", "3.1"]
steps:
- uses: actions/checkout@v3
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
- name: Install dependencies
run: |
sudo apt-get install libyaml-dev
bundle install
- name: Run Integration Tests
run:
rspec -P __tests__/Integration/*.spec.rb --color --format doc
env:
LOB_API_TEST_KEY: ${{ secrets.LOB_API_TEST_KEY }}
LOB_API_LIVE_KEY: ${{ secrets.LOB_API_LIVE_KEY }}
- name: Run Unit Tests
run:
rspec -P __tests__/Api/*.rb --color --format doc
env:
LOB_API_TEST_KEY: ${{ secrets.LOB_API_TEST_KEY }}
LOB_API_LIVE_KEY: ${{ secrets.LOB_API_LIVE_KEY }}