Skip to content

Merge pull request #153 from glenrobson/support-v3 #91

Merge pull request #153 from glenrobson/support-v3

Merge pull request #153 from glenrobson/support-v3 #91

Workflow file for this run

name: SOLR
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Starting SOLR
run: mkdir solr-data && chmod 777 solr-data && docker compose -f docker/sas-solr/compose.yaml --project-directory . up -d solr
- name: checking docker
run: docker ps && docker logs sas_solr
- name: Wait for SOLR to start
run: docker exec -t sas_solr /opt/docker-solr/scripts/wait-for-solr.sh --max-attempts 10 --wait-seconds 10 --solr-url http://0.0.0.0:8983/
- name: Run Tests
run: export "config=solr.properties" && mvn test