Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .github/workflows/build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.13"
- uses: pre-commit/action@v3.0.1

semgrep:
Expand All @@ -72,6 +72,9 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Generate GitHub App Token
id: app-token
uses: actions/create-github-app-token@v3
Expand All @@ -87,7 +90,6 @@ jobs:
poetry install
poetry run pytest -v tests/unit


test-splunk-external:
runs-on: ubuntu-22.04
needs:
Expand Down Expand Up @@ -182,7 +184,7 @@ jobs:
owner: ${{ github.repository_owner }}
- uses: actions/setup-python@v5
with:
python-version: 3.7
python-version: "3.13"
- run: |
git config --global --add url."https://x-access-token:${{ steps.app-token.outputs.token }}@github.com".insteadOf https://github.com
git config --global --add url."https://x-access-token:${{ steps.app-token.outputs.token }}@github.com".insteadOf ssh://git@github.com
Expand Down Expand Up @@ -244,7 +246,7 @@ jobs:
owner: ${{ github.repository_owner }}
- uses: actions/setup-python@v5
with:
python-version: "3.7"
python-version: "3.13"
- name: Install PSA with CIM models ${{ matrix.cim-models.label }}
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
Expand Down Expand Up @@ -307,7 +309,7 @@ jobs:
owner: ${{ github.repository_owner }}
- uses: actions/setup-python@v5
with:
python-version: "3.7"
python-version: "3.13"
- uses: actions/download-artifact@v4
with:
name: THIRDPARTY
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ which allows the user to test [knowledge objects](https://docs.splunk.com/Splexi

## Support

- **Python**: 3.7
- **Python**: 3.13
- **Platforms**: Linux, Windows and MacOS

## Installation
Expand Down
2 changes: 1 addition & 1 deletion docs/troubleshoot.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ substitutions:

**4. Getting Couldn't find a version that satisfies the requirement when installing pytest-splunk-addon using pip.**

- Use `pip3 install pytest-splunk-addon` and make sure you are using python 3.7
- Use `python3.13 -m pip install pytest-splunk-addon` and make sure you are using Python 3.13.

**5. While executing test cases on Docker, all the test cases abort with the following setup failure:**

Expand Down
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ cd /work
curl https://pyenv.run | bash
export PATH="~/.pyenv/bin:$PATH"
eval "$(pyenv init -)"
pyenv install 3.7.8
pyenv local 3.7.8
pyenv install 3.13.0
pyenv local 3.13.0
curl -sSL https://install.python-poetry.org | python - --version 1.5.1
export PATH="/root/.local/bin:$PATH"
source ~/.poetry/env
Expand Down
Loading
Loading