Skip to content

Fiddle around with CI/CD #4 #799

Fiddle around with CI/CD #4

Fiddle around with CI/CD #4 #799

Workflow file for this run

name: Python CI
on: [push, workflow_dispatch]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
python: [3.9, 3.13]
splunk-version:
- "9.3"
- "9.4"
- "latest"
include:
- os: ubuntu-22.04
python: 3.9
splunk-version: "9.3"
- os: ubuntu-22.04
python: 3.9
splunk-version: "9.4"
- os: ubuntu-22.04
python: 3.9
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 dependencies
run: pip install ".[dev]"
- name: Test Execution
run: tox -e py
# fossa-scan:
# uses: splunk/oss-scanning-public/.github/workflows/oss-scan.yml@main
# secrets: inherit