Skip to content

Fix: recommender size limit using SOLR with a GET call not a POST call #4

Fix: recommender size limit using SOLR with a GET call not a POST call

Fix: recommender size limit using SOLR with a GET call not a POST call #4

name: Ruby Unit Tests
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: copy config file
run: cp config/config.test.rb config/config.rb
- name: Build docker compose
run: docker compose build
- name: Run docker
# unit tests are run inside a container
# http://docs.codecov.io/docs/testing-with-docker
run: |
ci_env=`bash <(curl -s https://codecov.io/env)`
docker compose up
- name: Run unit tests
run : bundle exec rake test TESTOPTS="-v"
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
flags: unittests
verbose: true
fail_ci_if_error: false # optional (default = false)