Skip to content

Add instructions and example .env file for running tests locally #69

Add instructions and example .env file for running tests locally

Add instructions and example .env file for running tests locally #69

Workflow file for this run

name: Ruby
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
strategy:
matrix:
ruby:
- '3.2.2'
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Invoke cli
run: bundle exec sdr-cli --help
- name: Run the default task
run: bundle exec rake
env:
SOLR_INSTANCE_DIR: tmp/sdr-core-test
SOLR_INSTANCE_NAME: sdr-core-test
SOLR_URL: http://127.0.0.1:8983/solr/sdr-core-test
SOLR_PORT: 8983
SOLR_VERSION: 9.2.1