Skip to content

Try another approach to splitting dependencies in pyproject.toml #814

Try another approach to splitting dependencies in pyproject.toml

Try another approach to splitting dependencies in pyproject.toml #814

Workflow file for this run

name: Python CI
on: [push, workflow_dispatch]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.9, 3.13]
splunk-version: ["9.3", "9.4", "latest"]
fail-fast: false
steps:
- name: Checkout repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Set up environment variables
run: cp ./.env.template ./.env
- name: Run docker-compose with Splunk ${{ matrix.splunk-version }}
run: SPLUNK_VERSION=${{ matrix.splunk-version }} docker compose up -d
- name: Set up Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies to venv
run: pip install ".[test]"
- name: Run test suite
run: python -m tox -e py
# [BJ] I'll obviously uncomment this step after I finish fiddling
# fossa-scan:
# uses: splunk/oss-scanning-public/.github/workflows/oss-scan.yml@main
# secrets: inherit