-
Notifications
You must be signed in to change notification settings - Fork 383
63 lines (53 loc) · 1.53 KB
/
test.yml
File metadata and controls
63 lines (53 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: Python CI
on:
[ push, pull_request, workflow_dispatch ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-22.04 # Only for Python 3.7
python: 3.7
splunk-version: "8.1"
- os: ubuntu-22.04
python: 3.7
splunk-version: "8.2"
- os: ubuntu-22.04
python: 3.7
splunk-version: "latest"
- os: ubuntu-latest # For newer Python versions
python: 3.9
splunk-version: "8.1"
- os: ubuntu-latest
python: 3.9
splunk-version: "8.2"
- os: ubuntu-latest
python: 3.9
splunk-version: "latest"
- os: ubuntu-latest
python: 3.13
splunk-version: "8.1"
- os: ubuntu-latest
python: 3.13
splunk-version: "8.2"
- os: ubuntu-latest
python: 3.13
splunk-version: "latest"
fail-fast: false
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Run docker compose
run: SPLUNK_VERSION=${{matrix.splunk-version}} docker compose up -d
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install tox
run: pip install tox
- name: Test Execution
run: tox -e py
fossa-scan:
uses: splunk/oss-scanning-public/.github/workflows/oss-scan.yml@main
secrets: inherit