Skip to content

Commit a4af4de

Browse files
committed
pip install splunklib from working tree
1 parent c8ee057 commit a4af4de

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@ jobs:
3939
python-version: ${{ matrix.python }}
4040
- name: Install dependencies
4141
run: pip install .
42+
- name: Set up deps
43+
run: docker exec splunk pip install /working-tree --target /opt/splunk/etc/apps/eventing_app/lib
44+
- name: Set up deps2
45+
run: docker exec splunk pip install /working-tree --target /opt/splunk/etc/apps/generating_app/lib
46+
- name: Set up deps3
47+
run: docker exec splunk pip install /working-tree --target /opt/splunk/etc/apps/reporting_app/lib
48+
- name: Set up deps4
49+
run: docker exec splunk pip install /working-tree --target /opt/splunk/etc/apps/streaming_app/lib
4250
- name: Run test suite
4351
run: tox -e py
4452
# [BJ] I'll obviously uncomment this step after I finish fiddling

docker-compose.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ services:
2222
- "./tests/searchcommands/test_apps/generating_app:/opt/splunk/etc/apps/generating_app"
2323
- "./tests/searchcommands/test_apps/reporting_app:/opt/splunk/etc/apps/reporting_app"
2424
- "./tests/searchcommands/test_apps/streaming_app:/opt/splunk/etc/apps/streaming_app"
25-
- "./splunklib:/opt/splunk/etc/apps/eventing_app/lib/splunklib"
26-
- "./splunklib:/opt/splunk/etc/apps/generating_app/lib/splunklib"
27-
- "./splunklib:/opt/splunk/etc/apps/reporting_app/lib/splunklib"
28-
- "./splunklib:/opt/splunk/etc/apps/streaming_app/lib/splunklib"
25+
#- "./splunklib:/opt/splunk/etc/apps/eventing_app/lib/splunklib"
26+
#- "./splunklib:/opt/splunk/etc/apps/generating_app/lib/splunklib"
27+
#- "./splunklib:/opt/splunk/etc/apps/reporting_app/lib/splunklib"
28+
#- "./splunklib:/opt/splunk/etc/apps/streaming_app/lib/splunklib"
29+
- ".:/working-tree"

0 commit comments

Comments
 (0)