File tree Expand file tree Collapse file tree 3 files changed +21
-28
lines changed Expand file tree Collapse file tree 3 files changed +21
-28
lines changed Original file line number Diff line number Diff line change
1
+ name : Fossa OSS Scan
2
+ on : [push]
3
+ jobs :
4
+ fossa-scan :
5
+ uses : splunk/oss-scanning-public/.github/workflows/oss-scan.yml@main
6
+ secrets : inherit
Original file line number Diff line number Diff line change 6
6
jobs :
7
7
publish :
8
8
name : Deploy Release to PyPI
9
- runs-on : ubuntu-latest
9
+ # Last version with Python 3.7 binaries available
10
+ runs-on : ubuntu-22.04
10
11
steps :
11
12
- name : Checkout source
12
13
uses : actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493
Original file line number Diff line number Diff line change 1
1
name : Python CI
2
-
3
2
on : [push, workflow_dispatch]
4
3
5
4
jobs :
6
5
build :
7
6
runs-on : ${{ matrix.os }}
8
7
strategy :
8
+ fail-fast : false
9
9
matrix :
10
- os :
11
- - ubuntu-latest
12
- python : [3.9, 3.13]
13
- splunk-version :
14
- - " 8.1"
15
- - " 8.2"
16
- - " latest"
10
+ os : [ubuntu-latest]
11
+ python-version : [3.9]
12
+ splunk-version : [9.4, latest]
17
13
include :
14
+ # Oldest possible configuration
15
+ # Last Ubuntu version with Python 3.7 binaries available
18
16
- os : ubuntu-22.04
19
- python : 3.7
20
- splunk-version : " 8.1"
21
- - os : ubuntu-22.04
22
- python : 3.7
23
- splunk-version : " 8.2"
24
- - os : ubuntu-22.04
25
- python : 3.7
26
- splunk-version : " latest"
27
-
28
- fail-fast : false
29
-
17
+ python-version : 3.7
18
+ splunk-version : 9.1
19
+ # Latest possible configuration
20
+ - os : ubuntu-latest
21
+ python-version : 3.13
22
+ splunk-version : latest
30
23
steps :
31
24
- name : Checkout code
32
25
uses : actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493
33
-
34
26
- name : Run docker compose
35
27
run : SPLUNK_VERSION=${{ matrix.splunk-version }} docker compose up -d
36
-
37
28
- name : Setup Python
38
29
uses : actions/setup-python@9322b3ca74000aeb2c01eb777b646334015ddd72
39
30
with :
40
- python-version : ${{ matrix.python }}
41
-
31
+ python-version : ${{ matrix.python-version }}
42
32
- name : Install tox
43
33
run : pip install tox
44
-
45
34
- name : Test Execution
46
35
run : tox -e py
47
- fossa-scan :
48
- uses : splunk/oss-scanning-public/.github/workflows/oss-scan.yml@main
49
- secrets : inherit
You can’t perform that action at this time.
0 commit comments