Skip to content

πŸ› Fixed missing grouping in not conditions and added list conversion for sigma expansion conditions #21

πŸ› Fixed missing grouping in not conditions and added list conversion for sigma expansion conditions

πŸ› Fixed missing grouping in not conditions and added list conversion for sigma expansion conditions #21

Workflow file for this run

name: Test
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "*" ]
workflow_dispatch:
jobs:
test:
strategy:
matrix:
os: [ 'ubuntu-24.04' ]
python-version: [ '3.9', '3.10', '3.11', '3.12' ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install Poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: poetry install
- name: Run tests
run: poetry run pytest --cov=sigma --cov-report term --cov-report xml:cov.xml -vv
- name: Store coverage for badge
if: ${{ runner.os == 'Linux' }}
run: poetry run python print_coverage.py >> $GITHUB_ENV
- name: Create coverage badge
if: ${{ github.repository == 'marcelkwaschny/pySigma-backend-netwitness' && github.event_name == 'push' && runner.os == 'Linux' }}
uses: schneegans/[email protected]
with:
auth: ${{ secrets.GIST_SECRET }}
gistID: 67d1a922faf7921cada718e3677c5b51
filename: marcelkwaschny-pySigma-backend-netwitness.json
label: Coverage
message: ${{ env.COVERAGE }}
color: ${{ env.COVERAGE_COLOR }}