-
Notifications
You must be signed in to change notification settings - Fork 1
32 lines (28 loc) · 943 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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: |
pwd
devbox run -- echo $SOLR_LOGS_DIR