Merge pull request #653 from splunk/release/2.1.1 #960
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] | |
splunk-version: [9.4, latest] | |
include: | |
# Oldest possible configuration | |
# Last Ubuntu version with Python 3.7 binaries available | |
- os: ubuntu-22.04 | |
python-version: 3.7 | |
splunk-version: 9.1 | |
# Latest possible configuration | |
- os: ubuntu-latest | |
python-version: 3.13 | |
splunk-version: latest | |
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-version }} | |
- name: Install tox | |
run: pip install tox | |
- name: Test Execution | |
run: tox -e py |