Skip to content

Update CI matrix, set ubuntu version in release workflow to 22.04 if … #917

Update CI matrix, set ubuntu version in release workflow to 22.04 if …

Update CI matrix, set ubuntu version in release workflow to 22.04 if … #917

Workflow file for this run

name: Python CI
on: [push, workflow_dispatch]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: [3.9, 3.13]
splunk-version: [9.4, latest]
include:
# Ubuntu 22.04 is the last version with Python 3.7 binaries available
- os: ubuntu-22.04
python-version: 3.7
splunk-version: 9.1
steps:
- name: Checkout code
uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493
- name: Run docker compose
run: SPLUNK_VERSION=${{ matrix.splunk-version }} docker compose up -d
- name: Setup Python
uses: actions/setup-python@9322b3ca74000aeb2c01eb777b646334015ddd72
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