File tree Expand file tree Collapse file tree 3 files changed +23
-5
lines changed Expand file tree Collapse file tree 3 files changed +23
-5
lines changed Original file line number Diff line number Diff line change
1
+ # Splunk host (default: localhost)
2
+ host=localhost
3
+ # Splunk admin port (default: 8089)
4
+ port=8089
5
+ # Splunk username
6
+ username=admin
7
+ # Splunk password
8
+ password=changed!
9
+ # Access scheme (default: https)
10
+ scheme=https
11
+ # Your version of Splunk (default: 6.2)
12
+ version=9.4
13
+ # Bearer token for authentication
14
+ #splunkToken="<Bearer-token>"
15
+ # Session key for authentication
16
+ #token="<Session-Key>"
Original file line number Diff line number Diff line change 15
15
with :
16
16
python-version : 3.9
17
17
- name : Install dependencies
18
- run : pip install ".[dev]"
18
+ run : pip install .
19
19
- name : Build package
20
20
run : python -m build
21
21
- name : Publish package to PyPI
Original file line number Diff line number Diff line change @@ -29,15 +29,17 @@ jobs:
29
29
steps :
30
30
- name : Checkout code
31
31
uses : actions/checkout@v3
32
- - name : Run docker compose
32
+ - name : Set up .env
33
+ run : cp ./.env.template ./.env
34
+ - name : Run docker-compose
33
35
run : SPLUNK_VERSION=${{ matrix.splunk-version }} docker compose up -d
34
- - name : Setup Python
36
+ - name : Setup Python ${{ matrix.python }}
35
37
uses : actions/setup-python@v4
36
38
with :
37
39
python-version : ${{ matrix.python }}
38
40
- name : Install dependencies
39
- run : pip install ".[dev]"
40
- - name : Test Execution
41
+ run : pip install .
42
+ - name : Run test suite
41
43
run : tox -e py
42
44
43
45
# fossa-scan:
You can’t perform that action at this time.
0 commit comments