Skip to content

SDK Release v0.1.16

SDK Release v0.1.16 #6

Workflow file for this run

name: "Run Static tests"
on: [workflow_dispatch, pull_request]
jobs:
run-test:
name: "Run Static(Mypy/Flake8/Bandit) Tests"
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install pipenv and mypy
run: pip install pipenv mypy
- name: Install dependencies
run: |
pipenv install --dev
- name: Run Bandit Tests
continue-on-error: true
run: |
pipenv run bandit sumologic/*.py
- name: Run Flake8 Tests
run: |
pipenv run flake8 --max-line-length=120 sumologic/*.py
- name: Run Mypy Tests
run: |
mypy sumologic/*.py