Skip to content

upload noisy-host-demo #28

upload noisy-host-demo

upload noisy-host-demo #28

Workflow file for this run

name: CI – PAM Toolkit
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install flake8
run: pip install flake8==7.0.0
- name: Lint Python files
run: flake8 crowdstrike/ --count --show-source --statistics
- name: Run demo tests
run: |
set -e
python crowdstrike/noisy-hosts.py
python crowdstrike/session-replay.py --demo
echo "All tests passed!"
- name: Test summary
if: always()
run: |
echo "### Test Results" >> $GITHUB_STEP_SUMMARY
echo "- Python: ${{ matrix.python-version }}" >> $GITHUB_STEP_SUMMARY
echo "- Status: ${{ job.status }}" >> $GITHUB_STEP_SUMMARY