Skip to content

added new way of initializing endpoints #80

added new way of initializing endpoints

added new way of initializing endpoints #80

name: Test Code Samples
on:
pull_request:
schedule:
- cron: '0 0 * * *'
# Allow running this workflow manually from the Actions tab
workflow_dispatch:
jobs:
test:
name: Run Tests
timeout-minutes: 30
strategy:
matrix:
ruby:
- "3.0"
- "3.1"
- "3.2"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Tests code samples
run: |
./spec/test_code_samples.sh ${{ secrets.MINDEE_ACCOUNT_SE_TESTS }} ${{ secrets.MINDEE_ENDPOINT_SE_TESTS }} ${{ secrets.MINDEE_API_KEY_SE_TESTS }}