File tree Expand file tree Collapse file tree 2 files changed +8
-14
lines changed Expand file tree Collapse file tree 2 files changed +8
-14
lines changed Original file line number Diff line number Diff line change @@ -13,18 +13,16 @@ jobs:
13
13
- name : Set up Python
14
14
uses : actions/setup-python@v4
15
15
with :
16
- python-version : 3.7
16
+ python-version : 3.9
17
17
- name : Install dependencies
18
- run : pip install twine
18
+ run : pip install .[dev]
19
19
- name : Build package
20
- run : python setup.py sdist
20
+ run : python -m build
21
21
- name : Publish package to PyPI
22
22
23
23
with :
24
24
user : __token__
25
25
password : ${{ secrets.PYPI_PASSWORD }}
26
- - name : Install tox
27
- run : pip install tox
28
26
- name : Generate API docs
29
27
run : |
30
28
rm -rf ./docs/_build
Original file line number Diff line number Diff line change 11
11
- ubuntu-latest
12
12
python : [3.9, 3.13]
13
13
splunk-version :
14
- - " 8.1 "
15
- - " 8.2 "
14
+ - " 9.3 "
15
+ - " 9.4 "
16
16
- " latest"
17
17
include :
18
18
- os : ubuntu-22.04
@@ -22,28 +22,24 @@ jobs:
22
22
python : 3.7
23
23
splunk-version : " 8.2"
24
24
- os : ubuntu-22.04
25
- python : 3.7
25
+ python : 3.9
26
26
splunk-version : " latest"
27
-
28
27
fail-fast : false
29
28
30
29
steps :
31
30
- name : Checkout code
32
31
uses : actions/checkout@v3
33
-
34
32
- name : Run docker compose
35
33
run : SPLUNK_VERSION=${{ matrix.splunk-version }} docker compose up -d
36
-
37
34
- name : Setup Python
38
35
uses : actions/setup-python@v4
39
36
with :
40
37
python-version : ${{ matrix.python }}
41
-
42
38
- name : Install tox
43
- run : pip install .[dev]
44
-
39
+ run : pip install -e ".[dev]"
45
40
- name : Test Execution
46
41
run : tox -e py
42
+
47
43
fossa-scan :
48
44
uses : splunk/oss-scanning-public/.github/workflows/oss-scan.yml@main
49
45
secrets : inherit
You can’t perform that action at this time.
0 commit comments