Skip to content

Test that solr logs dir is correct #9

Test that solr logs dir is correct

Test that solr logs dir is correct #9

Workflow file for this run

name: Test the debox solr plugin
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: jetify-com/[email protected]
with:
project-path: './test'
- name: Check packages are installed
working-directory: test
run: |
devbox run -- which solr
devbox run -- which curl
devbox run -- which exa
- name: Check files have been created
working-directory: test
run: |
[ -f .devbox/virtenv/carlotm.devbox-solr.solr/process-compose.yaml ]
[ -f .devbox/virtenv/carlotm.devbox-solr.solr/data/solr.xml ]
[ -d .devbox/virtenv/carlotm.devbox-solr.solr/logs ]
[ -d .devbox/virtenv/carlotm.devbox-solr.solr/pid ]
- name: Check env vars have been set
working-directory: test
run: |
devbox run -- [ "$SOLR_LOGS_DIR" = "/home/runner/work/devbox-solr/devbox-solr/test/.devbox/virtenv/carlotm.devbox-solr.solr/logs" ]