Skip to content

Commit 310ef81

Browse files
committed
Update CI matrix, set ubuntu version in release workflow to 22.04 if we really want to use Python 3.7
1 parent 0a16aee commit 310ef81

File tree

2 files changed

+12
-25
lines changed

2 files changed

+12
-25
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ on:
66
jobs:
77
publish:
88
name: Deploy Release to PyPI
9-
runs-on: ubuntu-latest
9+
# Ubuntu 22.04 is the last version with Python 3.7 binaries available
10+
runs-on: ubuntu-22.04
1011
steps:
1112
- name: Checkout source
1213
uses: actions/checkout@v3
@@ -29,7 +30,7 @@ jobs:
2930
run: |
3031
rm -rf ./docs/_build
3132
tox -e docs
32-
- name : Docs Upload
33+
- name: Docs Upload
3334
uses: actions/upload-artifact@v3
3435
with:
3536
name: python_sdk_docs

.github/workflows/test.yml

Lines changed: 9 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,20 @@
11
name: Python CI
2-
3-
on:
4-
[ push, workflow_dispatch ]
2+
on: [push, workflow_dispatch]
53

64
jobs:
75
build:
8-
96
runs-on: ${{ matrix.os }}
107
strategy:
8+
fail-fast: false
119
matrix:
12-
os:
13-
- ubuntu-latest
14-
python: [ 3.9, 3.13 ]
15-
splunk-version:
16-
- "8.1"
17-
- "8.2"
18-
- "latest"
10+
os: [ubuntu-latest]
11+
python-version: [3.9, 3.13]
12+
splunk-version: [9.4, latest]
1913
include:
14+
# Ubuntu 22.04 is the last version with Python 3.7 binaries available
2015
- os: ubuntu-22.04
21-
python: 3.7
22-
splunk-version: "8.1"
23-
- os: ubuntu-22.04
24-
python: 3.7
25-
splunk-version: "8.2"
26-
- os: ubuntu-22.04
27-
python: 3.7
28-
splunk-version: "latest"
29-
30-
fail-fast: false
31-
16+
python-version: 3.7
17+
splunk-version: 9.1
3218
steps:
3319
- name: Checkout code
3420
uses: actions/checkout@v3
@@ -48,4 +34,4 @@ jobs:
4834
run: tox -e py
4935
fossa-scan:
5036
uses: splunk/oss-scanning-public/.github/workflows/oss-scan.yml@main
51-
secrets: inherit
37+
secrets: inherit

0 commit comments

Comments
 (0)